MetadataScanner

  
class MetadataScanner {
  scanFromPrototype<T extends Injectable, R = any>(instance: T, prototype: object, callback: (name: string) => R): R[]
  getAllFilteredMethodNames(prototype: object): IterableIterator<string>
  getAllMethodNames(prototype: object): string[]
}

Methods

scanFromPrototype()


scanFromPrototype<T extends Injectable, R = any>(instance: T, prototype: object, callback: (name: string) => R): R[]

Deprecated

Parameters

Option Type Description
instance T
prototype object
callback (name: string) => R

Returns

R[]

getAllFilteredMethodNames()


getAllFilteredMethodNames(prototype: object): IterableIterator<string>

Deprecated

Parameters

Option Type Description
prototype object

Returns

IterableIterator<string>

getAllMethodNames()


getAllMethodNames(prototype: object): string[]

Parameters

Option Type Description
prototype object

Returns

string[]