예제 #1
0
 static RefProxy <T> CreateRefProxy(FactoryPool <RefProxy <T> > pool)
 {
     return(new RefProxy <T>(pool));
 }
예제 #2
0
            static RefProxyPool()
            {
                _proxyPool = new FactoryPool <RefProxy <T> >(CreateProxy, 8);

                RefProxyPoolRegister.RegisterPool(_proxyPool);
            }
예제 #3
0
 public RefProxy(FactoryPool <RefProxy <T> > sourcePool)
 {
     _sourcePool = sourcePool;
 }