DependencyResolver.SetService Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: System.Web.Http.Services
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub SetService ( _
serviceType As Type, _
value As Object _
)
public void SetService(
Type serviceType,
Object value
)
public:
void SetService(
Type^ serviceType,
Object^ value
)
member SetService :
serviceType:Type *
value:Object -> unit
public function SetService(
serviceType : Type,
value : Object
)
Parameters
- serviceType
Type: System.Type
- value
Type: System.Object