Interface INameVersionObjectManager<T>
- Namespace
- DurableTask.Core
- Assembly
- DurableTask.Core.dll
Interface for name and version manager class to be used in type lookup mappings
public interface INameVersionObjectManager<T>
Type Parameters
T
Methods
Add(ObjectCreator<T>)
Adds a new ObjectCreator to the name version Object manager
void Add(ObjectCreator<T> creator)
Parameters
creator
ObjectCreator<T>Class for creation of a new name and version instance
GetObject(string, string)
Gets a creator class instance based on a name and version
T GetObject(string name, string version)
Parameters
name
stringName of the class to return the creator for
version
stringVersion of the class to return the creator for
Returns
- T
Class instance based on the matching creator class for the supplied name and version