Class ObjectFactory
Package: @aurigma/design-atoms
Constructors
(constructor)(types)
Constructs a new instance of the ObjectFactory class
Declaration
constructor(types: {
typeName: string;
new (): TObject;
}[]);
Parameters
| Type | Name | Description |
|---|---|---|
| { typeName: string; new (): TObject; }[] | types |
Methods
create(itemHandlerType)
Declaration
create(itemHandlerType: string): TObject;
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemHandlerType |
Returns
| Type | Description |
|---|---|
| TObject |