Interface IControllerMethodInitializedEventArguments

Options for the first argument of a ControllerMethodInitializedEventHandler.

interface IControllerMethodInitializedEventArguments {
    app: IHttpServer;
    controller: any;
    controllerClass: Constructor<any>;
    fullPath: string;
    function: Func;
    methods: IControllerMethodInfo[];
    name: string;
    relativePath: string;
}

Properties

The underlying server instance.

controller: any

The underlying controller instance.

controllerClass: Constructor<any>

The class of instance in controller.

fullPath: string

The full path of the underlying file.

function: Func

The underlying method instance.

The information about the HTTP methods, which are registrated for this method.

name: string

The name of the property inside the class, where methodis used.

relativePath: string

The relative path of the underlying file.

Generated using TypeDoc