using System; public interface IMixedObjectPool : IDisposable where T : class { T Allocate(string typeName); void Free(string typeName, T obj); }