C# Class URSA.Web.Http.Configuration.ComponentProviderExtensions

Provides useful IComponentProvider extensions.
Show file Open project: alien-mcl/URSA

Public Methods

Method Description
WithAutodiscoveredControllers ( this container, ControllerInfo>.Action controllerDetailsAction = null ) : IComponentProvider

Registers automatically discovered IController implementations.

Private Methods

Method Description
IsDescriptionController ( this controllerType ) : bool
RegisterControllerRelatedTypes ( this container, IEnumerable controllerTypes ) : void
RegisterEntryPointControllerDescriptionBuilder ( this container, System.Url entryPoint ) : void

Method Details

WithAutodiscoveredControllers() public static method

Registers automatically discovered IController implementations.
public static WithAutodiscoveredControllers ( this container, ControllerInfo>.Action controllerDetailsAction = null ) : IComponentProvider
container this The container.
controllerDetailsAction ControllerInfo>.Action The controller details action.
return IComponentProvider