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 implement the IPipe interface, perform the following procedure:
Open the FacebookEventsOutboundPipe.cs file.
Add the following properties:
public
virtual
PipeSettings PipeSettings
{
get
return
this
.pipeSettings;
}
set
.pipeSettings = value;
string
Name
FacebookEventsOutboundPipe.PipeName;
Telerik.Sitefinity.Publishing.Model.IDefinitionField[] Definition
if
(
.definition ==
null
)
.definition = PublishingSystemFactory.GetPipeDefinitions(
.Name );
.definition;
Type PipeSettingsType
typeof
( PipeSettings );
Add the following methods:
IEnumerable<WrapperObject> GetConvertedItemsForMapping(
params
object
[] items )
foreach
( var item
in
items )
yield
new
WrapperObject(
.PipeSettings, ( ( PublishingSystemEventInfo )item ).Item, ( ( PublishingSystemEventInfo )item ).Language );
void
Initialize( Telerik.Sitefinity.Publishing.Model.PipeSettings pipeSettings )
.pipeSettings = pipeSettings;
bool
CanProcessItem(
item )
true
;
Telerik.Sitefinity.Publishing.Model.PipeSettings GetDefaultSettings()
PublishingSystemFactory.CreatePipeSettings(
.Name, PublishingManager.GetManager() );
GetPipeSettingsShortDescription( Telerik.Sitefinity.Publishing.Model.PipeSettings initSettings )
"Sitefinity CMS Facebook events outbound pipe."
CleanUp(
transactionName )
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