Class Factory

Index

Constructor methods

Methods

Constructor methods

constructor(parent_factory: any): Factory

Parameters

  • parent_factory: any

Returns

Factory

Methods

public addPathMapping(path: string, create_info: any): any

Parameters

  • path: string
  • create_info: any

Returns

any

public addPathMappings(factories: any, owner_path: string): any

Parameters

  • factories: any
  • owner_path: string

Returns

any

public creatorForPath(obj: any, path: string): any

Parameters

  • obj: any
  • path: string

Returns

any

public hasPath(path: string): boolean

Parameters

  • path: string

Returns

boolean

public hasPathMappings(factories: any, owner_path: string): boolean

Parameters

  • factories: any
  • owner_path: string

Returns

boolean

public static useOptionsOrCreate(options: FactoryOptions, obj: any, owner_path: string): any

Parameters

Returns

any