Class NullProcessor<T>
This class represents a processor which takes no action. It is intended to ease interaction with processing chains, serving as a terminating node.
Implements
IProcessor<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public class NullProcessor<T> : Processor<T>, IProcessor<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
NullProcessor()
Declaration
public NullProcessor()
Methods
Process(T)
Takes no action and returns the item supplied to it.
Declaration
public override T Process(T itemToProcess)
Parameters
| Type | Name | Description |
|---|---|---|
| T | itemToProcess | Item to be processed |
Returns
| Type | Description |
|---|---|
| T | Item supplied to this method as a parameter |
Overrides
EPiServer.Social.Common.Processor<T>.Process(T)
Process<TExtension>(Composite<T, TExtension>)
Takes no action and returns the composite supplied to it.
Declaration
public override Composite<T, TExtension> Process<TExtension>(Composite<T, TExtension> composite)
where TExtension : class
Parameters
| Type | Name | Description |
|---|---|---|
| Composite<T, TExtension> | composite | Composite to be processed |
Returns
| Type | Description |
|---|---|
| Composite<T, TExtension> | Composite supplied to this method as a parameter |
Type Parameters
| Name | Description |
|---|---|
| TExtension |
Overrides
EPiServer.Social.Common.Processor<T>.Process<TExtension>(EPiServer.Social.Common.Composite<T, TExtension>)