コード例 #1
0
 public BuilderWrapper(StringBuilder builder, ConcurrentObjectPool <StringBuilder> pool)
 {
     Builder = builder;
     _pool   = pool;
 }
コード例 #2
0
 static StringBuilderPool()
 {
     _pool = new ConcurrentObjectPool <StringBuilder>(() => new StringBuilder());
 }