Creating the Pipe Resources

To create the resources class, perform the following procedure:

  1. Create a new class and name it PublishingModuleExtensionsResources.
  2. Open PublishingModuleExtensionsResources.cs and add the following namespaces:
    using Telerik.Sitefinity.Localization;
    using Telerik.Sitefinity.Localization.Data;
  3. Change the class definition to:
    [ObjectInfo(typeof(PublishingModuleExtensionsResources), Title = "PublishingResourcesTitle", Description = "PublishingResourcesDescription")]
    public class PublishingModuleExtensionsResources : Resource
    {
    }
  4. Add the following constructors:
    public PublishingModuleExtensionsResources()
    {
    }
     
    public PublishingModuleExtensionsResources(ResourceDataProvider dataProvider)
        : base(dataProvider)
    {
    }
  5. Define the pipe name by pasting the following code:
    [ResourceEntry("XmlInboundPipeName",
        Value = "Xml Inbound Pipe Name",
        Description = "Xml Inbound Pipe Name",
        LastModified = "2011/08/10")]
    public string XmlInboundPipeName
    {
        get { return this["XmlInboundPipeName"]; }
    }

Next steps

+1-888-365-2779
sales@sitefinity.com

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK