Class DataProcessorGroup<TData, TFrom, TTo>
Inheritance
object
DataProcessorGroup<TData, TFrom, TTo>
Assembly: Dew.Core.dll
Syntax
public class DataProcessorGroup<TData, TFrom, TTo> where TData : struct
Type Parameters
| Name |
Description |
| TData |
|
| TFrom |
|
| TTo |
|
Properties
count
Declaration
public int count { get; }
Property Value
Methods
Add(DataProcessor<TData, TFrom, TTo>, int)
Processors with lower priority value will be executed first.
Declaration
public void Add(DataProcessor<TData, TFrom, TTo> processor, int priority = 0)
Parameters
| Type |
Name |
Description |
| DataProcessor<TData, TFrom, TTo> |
processor |
|
| int |
priority |
|
Clear()
Declaration
Process(ref TData, TFrom, TTo)
Declaration
public void Process(ref TData data, TFrom from, TTo to)
Parameters
| Type |
Name |
Description |
| TData |
data |
|
| TFrom |
from |
|
| TTo |
to |
|
Remove(DataProcessor<TData, TFrom, TTo>)
Declaration
public void Remove(DataProcessor<TData, TFrom, TTo> processor)
Parameters