Skip to main content

Class: DefaultConfigFactory

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Config/DefaultConfigFactory.ts:9

A default implementation of ConfigFactory.

Implements​

Constructors​

Constructor​

new DefaultConfigFactory(): DefaultConfigFactory

Returns​

DefaultConfigFactory

Methods​

create()​

create(element): Config | undefined

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Config/DefaultConfigFactory.ts:20

Creates a configuration object from a configuration document element.

Parameters​

ParameterTypeDescription
elementElementA configuration document element.

Returns​

Config | undefined

The configuration object defined by the specified element, or undefined if the element does not define a configuration object recognized by this factory.

Implementation of​

ConfigFactory.create