示例#1
0
 public TestPoolAllocation MakeObject(IObjectPoolBase <TestPoolAllocation> parent)
 {
     return(new TestPoolAllocation(parent));
 }
示例#2
0
 public TestPoolAllocation(IObjectPoolBase <TestPoolAllocation> parent)
 {
     _reference = parent;
 }
示例#3
0
 public TestPoolAllocation2(IObjectPoolBase <TestPoolAllocation2> parent)
 {
     _reference = new WeakReference(parent);;
 }
示例#4
0
 public PoolReference(IObjectPoolBase <type> parent)
 {
     _parentReference = new WeakReference(parent);
 }