Methods
Abstract createConcreteContext
- createConcreteContext<T, R>(metadata: T, contextId?: ContextId, inquirerId?: string): R
-
Type parameters
Parameters
-
metadata: T
-
Optional contextId: ContextId
-
Optional inquirerId: string
Returns R
createContext
- createContext<T, R>(instance: Controller, callback: function, metadataKey: string, contextId?: ContextId, inquirerId?: string): R
-
Type parameters
Parameters
-
-
callback: function
-
metadataKey: string
-
Default value contextId: ContextId = STATIC_CONTEXT
-
Optional inquirerId: string
Returns R
Optional getGlobalMetadata
- getGlobalMetadata<T>(): T
-
Type parameters
Returns T
reflectClassMetadata
- reflectClassMetadata<T>(instance: Controller, metadataKey: string): T
-
Type parameters
Parameters
Returns T
reflectMethodMetadata
- reflectMethodMetadata<T>(callback: function, metadataKey: string): T
-
Type parameters
Parameters
-
callback: function
-
metadataKey: string
Returns T