Constructors
constructor
- new ReferenceByName<N>(name, referred?): ReferenceByName<N>
Parameters
- name: string
Optional
referred: N
Properties
Private
Optional
_referred
Readonly
name
name: string
Accessors
referred
- get referred(): undefined | N
Returns undefined | N
- set referred(referred): void
Returns void
resolved
- get resolved(): boolean
Returns boolean
Methods
toString
- toString(): string
Returns string
tryToResolve
- tryToResolve(candidates, caseInsensitive?): boolean
Parameters
- candidates: N[]
- caseInsensitive: boolean = false
Returns boolean
A reference associated by using a name.