Register a pipe

To register your custom pipe, you use the RegisterPipe method:

C#
using System;
using Telerik.Sitefinity.Publishing;

namespace SitefinityWebApp
{
   public class RegisterPipe
   {
       /// <summary>
       /// Registers a pipe
       /// </summary>
       /// <param name="pipeName">The pipe name</param>
       /// <param name="pipeType">The pipe type</param>
       public static void RegisterAPipe(string pipeName, Type pipeType)
       {
           // The RegisterPipe method accepts the name and the type of the pipe as parameters.
           PublishingSystemFactory.RegisterPipe(pipeName, pipeType);
       }

   }
}

The RegisterPipe method accepts the name and the type of the pipe as parameters.

Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?