Method | Description | |
---|---|---|
AddPlugin ( IStringFormatterPlugin plugin ) : void | ||
AddPlugins ( IEnumerable |
||
CreateDefault ( ) : |
||
CreateDefaultPlugins ( ) : IStringFormatterPlugin[] | ||
CreateDefaultThatThrowsOnErrors ( ) : |
||
FormatEx ( IFormatProvider formatProvider, string format ) : string |
Formats the format string using the parameters provided.
|
|
FormatEx ( string format ) : string | ||
FormatEx ( Stream output, IFormatProvider formatProvider, string format ) : void | ||
FormatEx ( Stream output, string format ) : void | ||
FormatEx ( StringBuilder output, IFormatProvider formatProvider, string format ) : void | ||
FormatEx ( StringBuilder output, string format ) : void | ||
FormatEx ( |
||
FormatEx ( |
Method | Description | |
---|---|---|
FormatExInternal ( |
Does the actual work.
|
|
NextPlaceholder ( string format, int startIndex, int endIndex, |
Returns True if the placeholder was formatted correctly; False if a placeholder couldn't be found. Outputs all relevant placeholder information. This function takes the place of the Regular Expression. It is faster and more direct, and does not suffer from Regex endless loops. In tests, this nearly doubles the speed vs Regex.
|
|
OnExtendFormatEvent ( |
||
OnExtendSourceEvent ( |
||
OnInvalidFormat ( string format, |
Determines what to do when an Invalid Selector is found.
|
|
OnInvalidSelector ( string format, |
Determines what to do when an Invalid Selector is found. Returns True if we should just continue; False if we should skip this item.
|
public AddPlugin ( IStringFormatterPlugin plugin ) : void | ||
plugin | IStringFormatterPlugin | |
return | void |
public AddPlugins ( IEnumerable |
||
plugins | IEnumerable |
|
return | void |
public static CreateDefault ( ) : |
||
return |
public static CreateDefaultPlugins ( ) : IStringFormatterPlugin[] | ||
return | IStringFormatterPlugin[] |
public static CreateDefaultThatThrowsOnErrors ( ) : |
||
return |
public FormatEx ( IFormatProvider formatProvider, string format ) : string | ||
formatProvider | IFormatProvider | |
format | string | |
return | string |
public FormatEx ( Stream output, IFormatProvider formatProvider, string format ) : void | ||
output | Stream | |
formatProvider | IFormatProvider | |
format | string | |
return | void |
public FormatEx ( Stream output, string format ) : void | ||
output | Stream | |
format | string | |
return | void |
public FormatEx ( StringBuilder output, IFormatProvider formatProvider, string format ) : void | ||
output | StringBuilder | |
formatProvider | IFormatProvider | |
format | string | |
return | void |
public FormatEx ( StringBuilder output, string format ) : void | ||
output | StringBuilder | |
format | string | |
return | void |
public FormatEx ( |
||
output | ||
formatProvider | IFormatProvider | |
format | string | |
return | void |
public FormatEx ( |
||
output | ||
format | string | |
return | void |