Table of Contents

Class DefaultObjectCreator<T>

Namespace
DurableTask.Core
Assembly
DurableTask.Core.dll

Object instance creator for a type using default name and version based on the type

public class DefaultObjectCreator<T> : ObjectCreator<T>, INameVersionInfo

Type Parameters

T

Type of Object

Inheritance
DefaultObjectCreator<T>
Implements
Derived
Inherited Members

Constructors

DefaultObjectCreator(Type)

Creates a new DefaultObjectCreator of supplied type

public DefaultObjectCreator(Type type)

Parameters

type Type

Type to use for the creator

DefaultObjectCreator(T)

Creates a new DefaultObjectCreator using type of supplied object instance

public DefaultObjectCreator(T instance)

Parameters

instance T

Object instances to infer the type from

Methods

Create()

Creates a new instance of the object creator's type

public override T Create()

Returns

T

An instance of the type T