Ejemplo n.º 1
0
 public void ReleaseInstance(InstanceContext instanceContext, object instance)
 {
     PooledObjectLocator.ReleaseInstance(instance as IPooledObject);
 }
Ejemplo n.º 2
0
 public object GetInstance(InstanceContext instanceContext, Message message)
 {
     return(PooledObjectLocator.GetInstance(instanceContext.Host.Description.ServiceType));
 }