Exemple #1
0
 public CustomizeComponentPool(string name, AllocateFunc alloc, RequestHandler requestHandler, ReleaseHandler releaseHandler) : base(name)
 {
     if (alloc == null)
     {
         throw new System.ArgumentNullException("alloc");
     }
     _allocFunc      = alloc;
     _requestHandler = requestHandler;
     _releaseHandler = releaseHandler;
 }
Exemple #2
0
 public CustomizeComponentPool(AllocateFunc alloc, RequestHandler requestHandler, ReleaseHandler releaseHandler) : this("CustomizeComponentPool", alloc, requestHandler, releaseHandler)
 {
 }