C# Class StringBuilderCache, Debugger

Mostra file Open project: topameng/Debugger Class Usage Examples

Public Methods

Method Description
Acquire ( int capacity = 256 ) : StringBuilder
GetStringAndRelease ( StringBuilder sb ) : string
Release ( StringBuilder sb ) : void

Method Details

Acquire() public static method

public static Acquire ( int capacity = 256 ) : StringBuilder
capacity int
return StringBuilder

GetStringAndRelease() public static method

public static GetStringAndRelease ( StringBuilder sb ) : string
sb StringBuilder
return string

Release() public static method

public static Release ( StringBuilder sb ) : void
sb StringBuilder
return void