17 lines
283 B
C#
17 lines
283 B
C#
namespace SimpleObjectPool
|
|
{
|
|
|
|
|
|
internal interface IMixedObjectFactory<T> where T : class
|
|
{
|
|
T Create(string typeName);
|
|
|
|
void Destroy(string typeName, T obj);
|
|
|
|
void Reset(string typeName, T obj);
|
|
|
|
bool Validate(string typeName, T obj);
|
|
}
|
|
|
|
}
|