Share via


HttpControllerSettings.Services Property

Gets the collection of service instances for the controller.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Services As ServicesContainer 
    Get
'Usage
Dim instance As HttpControllerSettings 
Dim value As ServicesContainer 

value = instance.Services
public ServicesContainer Services { get; }
public:
property ServicesContainer^ Services {
    ServicesContainer^ get ();
}
member Services : ServicesContainer
function get Services () : ServicesContainer

Property Value

Type: System.Web.Http.Controllers.ServicesContainer
The collection of service instances.

See Also

Reference

HttpControllerSettings Class

System.Web.Http.Controllers Namespace