StringBuilderCache
Reusable StringBuilder ThreadStatic Cache
Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class StringBuilderCache
Methods
Allocate()
View Source
Declaration
public static StringBuilder Allocate()
Returns
System.Text.StringBuilder
Free(StringBuilder)
View Source
Declaration
public static void Free(StringBuilder sb)
Parameters
Type | Name |
---|---|
System.Text.StringBuilder | sb |
ReturnAndFree(StringBuilder)
View Source
Declaration
public static string ReturnAndFree(StringBuilder sb)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Text.StringBuilder | sb |