Method | Description | |
---|---|---|
GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object |
Returns a service object given the specified System.ServiceModel.InstanceContext object.
|
|
GetInstance ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object |
Returns a service object given the specified System.ServiceModel.InstanceContext object.
|
|
ReleaseInstance ( InstanceContext instanceContext, object instance ) : void |
Called when an System.ServiceModel.InstanceContext object recycles a service object.
|
|
UnityContainerInstanceProvider ( Type serviceType ) : System |
Initializes a new
|
|
UnityContainerInstanceProvider ( Type serviceType, IUnityContainer parentContainer ) : System |
Initializes a new
|
public GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object | ||
instanceContext | System.ServiceModel.InstanceContext | The current System.ServiceModel.InstanceContext object. |
return | object |
public GetInstance ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object | ||
instanceContext | System.ServiceModel.InstanceContext | The current System.ServiceModel.InstanceContext object. |
message | Message | The message that triggered the creation of a service object. |
return | object |
public ReleaseInstance ( InstanceContext instanceContext, object instance ) : void | ||
instanceContext | InstanceContext | The service's instance context. |
instance | object | The service object to be recycled. |
return | void |
public UnityContainerInstanceProvider ( Type serviceType ) : System | ||
serviceType | Type | The WCF service type. |
return | System |
public UnityContainerInstanceProvider ( Type serviceType, IUnityContainer parentContainer ) : System | ||
serviceType | Type | The WCF service type. |
parentContainer | IUnityContainer | Parent Unity container |
return | System |