예제 #1
0
 public object Clone()
 {
     return(new ObjectPoolSettingItem()
     {
         Creator = (Func <object>)Creator.Clone(),
         EnterPool = (Func <object, bool>)EnterPool.Clone(),
         LeavePool = (Func <object, bool>)LeavePool.Clone(),
         MaxCount = MaxCount,
         MinCount = MinCount,
         PoolType = PoolType,
     });
 }