Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExternalContextCreator

Hierarchy

  • ExternalContextCreator

Index

Constructors

constructor

Properties

Private contextUtils

contextUtils: ContextUtils = new ContextUtils()

Private externalErrorProxy

externalErrorProxy: ExternalErrorProxy = new ExternalErrorProxy()

Private filtersContextCreator

filtersContextCreator: ExternalExceptionFilterContext

Private guardsConsumer

guardsConsumer: GuardsConsumer

Private guardsContextCreator

guardsContextCreator: GuardsContextCreator

Private handlerMetadataStorage

handlerMetadataStorage: HandlerMetadataStorage<ExternalHandlerMetadata, any> = new HandlerMetadataStorage<ExternalHandlerMetadata>()

Private interceptorsConsumer

interceptorsConsumer: InterceptorsConsumer

Private interceptorsContextCreator

interceptorsContextCreator: InterceptorsContextCreator

Private modulesContainer

modulesContainer: ModulesContainer

Private pipesConsumer

pipesConsumer: PipesConsumer

Private pipesContextCreator

pipesContextCreator: PipesContextCreator

Methods

create

  • create<T>(instance: Controller, callback: function, methodName: string, metadataKey?: string, paramsFactory?: ParamsFactory, contextId?: ContextId, inquirerId?: string): (Anonymous function)

createPipesFn

  • createPipesFn(pipes: any[], paramsOptions: (ParamProperties<any, any> & object)[]): pipesFn

exchangeKeysForValues

  • exchangeKeysForValues<TMetadata>(keys: string[], metadata: TMetadata, moduleContext: string, paramsFactory: ParamsFactory, contextId?: ContextId, inquirerId?: string): ParamProperties[]

findContextModuleName

  • findContextModuleName(constructor: Function): string

findProviderByClassName

  • findProviderByClassName(module: Module, className: string): boolean

getCustomFactory

  • getCustomFactory(factory: function, data: any): function
  • Parameters

    • factory: function
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • data: any

    Returns function

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

getMetadata

getParamValue

  • getParamValue<T>(value: T, __namedParameters: object, transforms: Transform<any>[]): Promise<any>

transformToResult

  • transformToResult(resultOrDeffered: any): Promise<any>

Static fromContainer

Generated using TypeDoc