Exemplo n.º 1
0
        internal static string GetStringAndReturn(StringBuilderPrinter instance)
        {
            var result = instance.SB.ToString();

            Return(instance);
            return(result);
        }
Exemplo n.º 2
0
 internal static void Return(StringBuilderPrinter instance)
 {
     instance.SB.Clear();
     Interlocked.Exchange(ref m_cachedInstance, instance);
 }