コード例 #1
0
 static RefProxy <T> CreateRefProxy(FactoryPool <RefProxy <T> > pool)
 {
     return(new RefProxy <T>(pool));
 }
コード例 #2
0
ファイル: ObjectCache.cs プロジェクト: zhangzihan/Ceras
            static RefProxyPool()
            {
                _proxyPool = new FactoryPool <RefProxy <T> >(CreateProxy, 8);

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