Creating the Pipe Resources
To create the resources class, perform the following procedure:
- Create a new class and name it PublishingModuleExtensionsResources.
- Open PublishingModuleExtensionsResources.cs and add the following namespaces:
using Telerik.Sitefinity.Localization;
using Telerik.Sitefinity.Localization.Data;
- Change the class definition to:
[ObjectInfo(typeof(PublishingModuleExtensionsResources), Title = "PublishingResourcesTitle", Description = "PublishingResourcesDescription")]
public class PublishingModuleExtensionsResources : Resource
{
}
- Add the following constructors:
public PublishingModuleExtensionsResources()
{
}
public PublishingModuleExtensionsResources(ResourceDataProvider dataProvider)
: base(dataProvider)
{
}
- 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"]; }
}