Class NameValueObjectCreator<T>
- Namespace
- DurableTask.Core
- Assembly
- DurableTask.Core.dll
Object instance creator for a type using name and version mapping
public class NameValueObjectCreator<T> : DefaultObjectCreator<T>, INameVersionInfo
Type Parameters
T
- Inheritance
-
NameValueObjectCreator<T>
- Implements
- Inherited Members
Constructors
NameValueObjectCreator(string, string, Type)
Creates a new DefaultObjectCreator of supplied type with supplied name and version for mapping
public NameValueObjectCreator(string name, string version, Type type)
Parameters
name
stringLookup name for the type
version
stringLookup version for the type
type
TypeType to use for the creator
NameValueObjectCreator(string, string, T)
Creates a new DefaultObjectCreator of supplied object instance's type with supplied name and version for mapping
public NameValueObjectCreator(string name, string version, T instance)