Aller au contenu principal
Version: Next

DecoratorManager

Hierarchy

  • Map
    • DecoratorManager

Implements

Index

Constructors

externalconstructor

Properties

container

container: IModuleStore

injectClassKeyPrefix

injectClassKeyPrefix: string

the key for meta data store in class

injectClassMethodKeyPrefix

injectClassMethodKeyPrefix: string

the key for method meta data store in class

injectMethodKeyPrefix

injectMethodKeyPrefix: string

the key for method meta data store in method

Methods

attachMetadata

  • attachMetadata(decoratorNameKey: ObjectIdentifier, data: any, target: any, propertyName?: string, groupBy?: string, groupMode?: GroupModeType): void
  • attach data to class or property

attachPropertyDataToClass

  • attachPropertyDataToClass(decoratorNameKey: ObjectIdentifier, data: any, target: any, propertyName: any, groupBy?: string): void
  • attach property data to class

bindContainer

getMetadata

  • getMetadata(decoratorNameKey: ObjectIdentifier, target: any, propertyName?: any): any
  • get single data from class or property

getPropertyDataFromClass

  • getPropertyDataFromClass(decoratorNameKey: ObjectIdentifier, target: any, propertyName: any): any
  • get property data from class

listModule

  • listModule(key: any): any

listPropertyDataFromClass

  • listPropertyDataFromClass(decoratorNameKey: ObjectIdentifier, target: any): any[]
  • list property data from class

resetModule

  • resetModule(key: any): void

saveMetadata

  • saveMetadata(decoratorNameKey: ObjectIdentifier, data: any, target: any, propertyName?: any): void
  • save meta data to class or property

saveModule

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

savePropertyDataToClass

  • savePropertyDataToClass(decoratorNameKey: ObjectIdentifier, data: any, target: any, propertyName: any): void
  • save property data to class

staticattachMetadata

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

staticgetDecoratorClassKey

staticgetDecoratorClsExtendedKey

staticgetDecoratorClsMethodKey

staticgetDecoratorClsMethodPrefix

staticgetDecoratorMethod

staticgetDecoratorMethodKey

staticgetMetadata

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

staticremoveDecoratorClassKeySuffix

staticsaveMetadata

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