Method | Description | |
---|---|---|
GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object |
Returns a service object given the specified T:System.ServiceModel.InstanceContext object.
|
|
GetInstance ( System.ServiceModel.InstanceContext instanceContext, System message ) : object |
Returns a service object given the specified T:System.ServiceModel.InstanceContext object.
|
|
IocInstanceProvider ( |
Initializes a new instance of the IocInstanceProvider class.
|
|
IocInstanceProvider ( |
Initializes a new instance of the IocInstanceProvider class.
|
|
ReleaseInstance ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void |
Called when an T:System.ServiceModel.InstanceContext object recycles a service object.
|
Method | Description | |
---|---|---|
CreateUnityContainer ( string containerName ) : IServiceLocator |
public GetInstance ( System.ServiceModel.InstanceContext instanceContext ) : object | ||
instanceContext | System.ServiceModel.InstanceContext | The current |
return | object |
public GetInstance ( System.ServiceModel.InstanceContext instanceContext, System message ) : object | ||
instanceContext | System.ServiceModel.InstanceContext | The current |
message | System | The message that triggered the creation of a service object. |
return | object |
public IocInstanceProvider ( |
||
serviceType | Type of the service. | |
return | System |
public IocInstanceProvider ( |
||
serviceType | Type of the service. | |
containerName | string | Name of the container. |
return | System |
public ReleaseInstance ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void | ||
instanceContext | System.ServiceModel.InstanceContext | The service's instance context. |
instance | object | The service object to be recycled. |
return | void |