Class SyncModelConverter<TModel, TObject>
Inheritance
SyncModelConverter<TModel, TObject>
Syntax
public abstract class SyncModelConverter<TModel, TObject> : IReflectNodeProcessor where TModel : ISyncModel where TObject : Object
Type Parameters
Name |
Description |
TModel |
|
TObject |
|
Constructors
SyncModelConverter(EventHub, MemoryTracker, IOutput<SyncedData<TObject>>)
Declaration
public SyncModelConverter(EventHub hub, MemoryTracker memTracker, IOutput<SyncedData<TObject>> output)
Parameters
Methods
GetDestructor()
Declaration
protected abstract Action<TObject> GetDestructor()
Returns
Type |
Description |
Action<TObject> |
|
GetFromCache(StreamKey)
Declaration
public TObject GetFromCache(StreamKey key)
Parameters
Returns
Import(SyncedData<TModel>)
Declaration
protected abstract TObject Import(SyncedData<TModel> model)
Parameters
Returns
OnPipelineInitialized()
Declaration
public void OnPipelineInitialized()
Implements
OnPipelineShutdown()
Declaration
public void OnPipelineShutdown()
Implements
OnStreamEvent(SyncedData<TModel>, StreamEvent)
Declaration
public void OnStreamEvent(SyncedData<TModel> stream, StreamEvent streamEvent)
Parameters
ReImport(SyncedData<TModel>, TObject)
Declaration
protected abstract void ReImport(SyncedData<TModel> model, TObject obj)
Parameters
Type |
Name |
Description |
SyncedData<TModel> |
model |
|
TObject |
obj |
|