Interface

BuilderRegistry

BuilderRegistry

Methods

# build(obj, args) → {T}

Builds an Object by name

Parameters:
Name Type Description
obj Object
args Array.<any>

View Source utils/registry.ts, line 64

T

T

# get(name, args) → {Constructor.<T>|undefined}

Retrieves an Builder Object by name if it can

Parameters:
Name Type Description
name string
args Array.<any>

View Source utils/registry.ts, line 43

Constructor.<T> | undefined

# register(constructoropt, name, args) → {void}

Registers a constructor by name

Parameters:
Name Type Attributes Description
constructor Constructor.<T> <optional>
name name
args Array.<any>

View Source utils/registry.ts, line 53

void