A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unosquare.github.io/embedio/api/EmbedIO.WebApi.WebApiModuleExtensions.html below:

Class WebApiModuleExtensions

Provides extension methods for WebApiModule.

Inheritance

WebApiModuleExtensions

Namespace: EmbedIO.WebApi Syntax
public static class WebApiModuleExtensions
Methods WithController(WebApiModule, Type) Declaration
public static WebApiModule WithController(this WebApiModule this, Type controllerType)
Parameters Type Name Description WebApiModule this

The WebApiModule on which this method is called.

Type controllerType

The type of the controller.

Returns Type Description WebApiModule

this with the controller type registered.

See Also WithController(WebApiModule, Type, Func<WebApiController>) Declaration
public static WebApiModule WithController(this WebApiModule this, Type controllerType, Func<WebApiController> factory)
Parameters Type Name Description WebApiModule this

The WebApiModule on which this method is called.

Type controllerType

The type of the controller.

Func<WebApiController> factory

The factory method used to construct instances of controllerType.

Returns Type Description WebApiModule

this with the controller type registered.

See Also WithController<TController>(WebApiModule) Declaration
public static WebApiModule WithController<TController>(this WebApiModule this)
    where TController : WebApiController, new()
Parameters Returns Type Description WebApiModule

this with the controller type registered.

Type Parameters Name Description TController

The type of the controller.

See Also WithController<TController>(WebApiModule, Func<TController>) Declaration
public static WebApiModule WithController<TController>(this WebApiModule this, Func<TController> factory)
    where TController : WebApiController
Parameters Type Name Description WebApiModule this

The WebApiModule on which this method is called.

Func<TController> factory

The factory method used to construct instances of TController.

Returns Type Description WebApiModule

this with the controller type registered.

Type Parameters Name Description TController

The type of the controller.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4