IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
To create the resources class, perform the following procedure:
In the context menu of the project, click Add » Class...
In the Name input field, enter FacebookEventsImportResources.
Open the file FacebookEventsImportResources.cs and add the following namespaces:
using
Telerik.Sitefinity.Localization;
Telerik.Sitefinity.Localization.Data;
Change the class definition to:
[ObjectInfo(
typeof
( FacebookEventsImportResources ), Title =
"FacebookEventsImportResources"
, Description =
"FacebookEventsImportResourcesDescription"
)]
public
class
FacebookEventsImportResources : Resource
{
}
Add the following constructors:
FacebookEventsImportResources()
FacebookEventsImportResources( ResourceDataProvider dataProvider )
:
base
( dataProvider )
Define the resources by pasting the following code:
[ResourceEntry(
"FacebookEventsInboundPipeName"
,
Value =
"Facebook Events Inbound Pipe"
Description =
LastModified =
"2011/10/10"
string
FacebookEventsInboundPipeName
get
return
this
[
];
"FacebookEventsOutboundPipeName"
"Facebook Events Outbound Pipe"
FacebookEventsOutboundPipeName
You must define resources for the inbound pipe name and the outbound pipe name.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important