Пример #1
0
 public BuilderWrapper(StringBuilder builder, ConcurrentObjectPool <StringBuilder> pool)
 {
     Builder = builder;
     _pool   = pool;
 }
Пример #2
0
 static StringBuilderPool()
 {
     Pool = new ConcurrentObjectPool <StringBuilder>(() => new StringBuilder());
 }