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