Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DecoratorManager<K, V, K, V, K, V>

Type parameters

  • K

  • V

  • K

  • V

  • K

  • V

Hierarchy

  • Map
    • DecoratorManager

Properties

Readonly [Symbol.toStringTag]

[Symbol.toStringTag]: string

injectClassKeyPrefix

injectClassKeyPrefix: string = INJECT_CLASS_KEY_PREFIX

the key for meta data store in class

injectClassMethodKeyPrefix

injectClassMethodKeyPrefix: string = "INJECTION_CLASS_METHOD_META_DATA"

the key for method meta data store in class

injectMethodKeyPrefix

injectMethodKeyPrefix: string = "INJECTION_METHOD_META_DATA"

the key for method meta data store in method

Readonly size

size: number

Static Map

Map: MapConstructor

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[K, V]>

attachMetadata

  • attachMetadata(decoratorNameKey: DecoratorKey, data: any, target: any, propertyName?: string, groupBy?: string): void

attachPropertyDataToClass

  • attachPropertyDataToClass(decoratorNameKey: DecoratorKey, data: any, target: any, propertyName: any, groupBy?: string): void

clear

  • clear(): void

delete

  • delete(key: K): boolean

entries

  • entries(): IterableIterator<[K, V]>

forEach

  • forEach(callbackfn: function, thisArg?: any): void

get

  • get(key: K): V | undefined

getMetadata

  • getMetadata(decoratorNameKey: DecoratorKey, target: any, propertyName?: any): any

getPropertyDataFromClass

  • getPropertyDataFromClass(decoratorNameKey: DecoratorKey, target: any, propertyName: any): any

has

  • has(key: K): boolean

keys

  • keys(): IterableIterator<K>

listModule

  • listModule(key: any): unknown[]

listPropertyDataFromClass

  • listPropertyDataFromClass(decoratorNameKey: DecoratorKey, target: any): any[]

resetModule

  • resetModule(key: any): void

saveMetadata

  • saveMetadata(decoratorNameKey: DecoratorKey, data: any, target: any, propertyName?: any): void

saveModule

  • saveModule(key: any, module: any): void

savePropertyDataToClass

  • savePropertyDataToClass(decoratorNameKey: DecoratorKey, data: any, target: any, propertyName: any): void

set

  • set(key: K, value: V): this

values

  • values(): IterableIterator<V>

Static attachMetadata

  • attachMetadata(metaKey: string, target: any, dataKey: string, data: any, groupBy?: string): void

Static getDecoratorClassKey

  • getDecoratorClassKey(decoratorNameKey: DecoratorKey): string

Static getDecoratorClsMethodKey

Static getDecoratorClsMethodPrefix

  • getDecoratorClsMethodPrefix(decoratorNameKey: DecoratorKey): string

Static getDecoratorMethod

Static getDecoratorMethodKey

  • getDecoratorMethodKey(decoratorNameKey: DecoratorKey): string

Static getMetadata

  • getMetadata(metaKey: string, target: any, dataKey?: string): any

Static removeDecoratorClassKeySuffix

  • removeDecoratorClassKeySuffix(decoratorNameKey: DecoratorKey): string

Static saveMetadata

  • saveMetadata(metaKey: string, target: any, dataKey: string, data: any): void

Generated using TypeDoc