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

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