C# Class Evbpc.Framework.Utilities.ExtendedStringBuilder

This wraps the .NET StringBuilder in a slightly more easy-to-use format.
ファイルを表示 Open project: EBrown8534/Framework Class Usage Examples

Public Methods

Method Description
Append ( ExtendedStringBuilder e ) : ExtendedStringBuilder

Appends an ExtendedStringBuilder to the current ExtendedStringBuilder.

Append ( StringBuilder s ) : ExtendedStringBuilder

Appends a StringBuilder to the current ExtendedStringBuilder.

Append ( char c ) : ExtendedStringBuilder

Appends a char to the current ExtendedStringBuilder.

Append ( object o ) : ExtendedStringBuilder

Appends an object to the current ExtendedStringBuilder.

Append ( string s ) : ExtendedStringBuilder

Appends a string to the current ExtendedStringBuilder.

ExtendedStringBuilder ( ) : System

Creates a new, empty instance of the ExtendedStringBuilder.

ExtendedStringBuilder ( ExtendedStringBuilder baseBuilder ) : System

Creates a new instance of the ExtendedStringBuilder with the provided ExtendedStringBuilder as a base.

ExtendedStringBuilder ( StringBuilder baseBuilder ) : System

Creates a new instance of the ExtendedStringBuilder with the provided StringBuilder as a base.

ExtendedStringBuilder ( int capacity ) : System

Creates a new instance of the ExtendedStringBuilder with the provided capacity.

ExtendedStringBuilder ( string baseString ) : System

Creates a new instance of the ExtendedStringBuilder with the provided string as a base.

ToString ( ) : string

Returns the current ExtendedStringBuilder as a string.

ToString ( int startIndex, int length ) : string

Returns a substring of the current ExtendedStringBuilder.

operator ( ) : ExtendedStringBuilder

Appends a string to the current ExtendedStringBuilder.

Method Details

Append() public method

Appends an ExtendedStringBuilder to the current ExtendedStringBuilder.
public Append ( ExtendedStringBuilder e ) : ExtendedStringBuilder
e ExtendedStringBuilder The to append.
return ExtendedStringBuilder

Append() public method

Appends a StringBuilder to the current ExtendedStringBuilder.
public Append ( StringBuilder s ) : ExtendedStringBuilder
s StringBuilder The StringBuilder to append.
return ExtendedStringBuilder

Append() public method

Appends a char to the current ExtendedStringBuilder.
public Append ( char c ) : ExtendedStringBuilder
c char The char to append.
return ExtendedStringBuilder

Append() public method

Appends an object to the current ExtendedStringBuilder.
public Append ( object o ) : ExtendedStringBuilder
o object The object to append.
return ExtendedStringBuilder

Append() public method

Appends a string to the current ExtendedStringBuilder.
public Append ( string s ) : ExtendedStringBuilder
s string The string to append.
return ExtendedStringBuilder

ExtendedStringBuilder() public method

Creates a new, empty instance of the ExtendedStringBuilder.
public ExtendedStringBuilder ( ) : System
return System

ExtendedStringBuilder() public method

Creates a new instance of the ExtendedStringBuilder with the provided ExtendedStringBuilder as a base.
public ExtendedStringBuilder ( ExtendedStringBuilder baseBuilder ) : System
baseBuilder ExtendedStringBuilder The containing the base string to intialize to.
return System

ExtendedStringBuilder() public method

Creates a new instance of the ExtendedStringBuilder with the provided StringBuilder as a base.
public ExtendedStringBuilder ( StringBuilder baseBuilder ) : System
baseBuilder StringBuilder The StringBuilder containing the base string to intialize to.
return System

ExtendedStringBuilder() public method

Creates a new instance of the ExtendedStringBuilder with the provided capacity.
public ExtendedStringBuilder ( int capacity ) : System
capacity int The initial buffer size.
return System

ExtendedStringBuilder() public method

Creates a new instance of the ExtendedStringBuilder with the provided string as a base.
public ExtendedStringBuilder ( string baseString ) : System
baseString string The initial string in the buffer.
return System

ToString() public method

Returns the current ExtendedStringBuilder as a string.
public ToString ( ) : string
return string

ToString() public method

Returns a substring of the current ExtendedStringBuilder.
public ToString ( int startIndex, int length ) : string
startIndex int The starting position of the substring.
length int The length of the substring.
return string

operator() public static method

Appends a string to the current ExtendedStringBuilder.
public static operator ( ) : ExtendedStringBuilder
return ExtendedStringBuilder