Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Registrar<T>

Type parameters

Hierarchy

  • Registrar

Index

Methods

get

  • get(id: number, includeSubTypes?: boolean): T | undefined
  • Parameters

    • id: number
    • Default value includeSubTypes: boolean = false

    Returns T | undefined

isBase

  • isBase(item: T): boolean
  • Parameters

    • item: T

    Returns boolean

register

  • register(item: T, id?: undefined | number, subType?: undefined | number): void
  • Parameters

    • item: T
    • Optional id: undefined | number
    • Optional subType: undefined | number

    Returns void

registerBase

  • registerBase(item: T): void
  • Parameters

    • item: T

    Returns void

unregister

  • unregister(item: T): boolean
  • Parameters

    • item: T

    Returns boolean

usesBase

  • usesBase(id: number): boolean
  • Parameters

    • id: number

    Returns boolean

Generated using TypeDoc