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