Table of Contents

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 string

Lookup name for the type

version string

Lookup version for the type

type Type

Type 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)

Parameters

name string

Lookup name for the type

version string

Lookup version for the type

instance T

Object instances to infer the type from