Implementing the IInboundPipe interface

To implement the IInboundPipe interface, you must implement the ToPublishingPoint method.

To implement the ToPublishingPoint method, add the following method in file FacebookEventsInboundPipe.cs:

public virtual void ToPublishingPoint()
{
    var items = new List<PublishingSystemEventInfo>();
    var wrapperObjects = this.LoadWrapperObjectItems();
    foreach ( var item in wrapperObjects )
    {
        items.Add( new PublishingSystemEventInfo()
        {
            Item = item,
            ItemAction = RelatedActionsConstants.PublishingPointImported,
            Language = item.Language
        } );
    }
 
    this.PushData( items );
}

You call the LoadWrapperObjectItems helper method to wrap the Facebook events in WrapperObject. Then, you wrap the items inPublishingSystemEventInfo objects and call PushData.

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