Пример #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;
 }