Method | Description | |
---|---|---|
ByteArrayToHexString ( byte bytes ) : string | ||
ByteArrayToString ( byte byteArray ) : string | ||
ByteArrayToString ( byte byteArray, |
||
ByteArrayToString ( byte byteArray, int length ) : string | ||
CamelCaseToDatabase ( string camelCase ) : string | ||
ConvertTextToSingleLineCodeString ( string text ) : string |
Convert the specified text to a single line text
|
|
ConvertTextToSingleLineCodeString ( string text, bool convertBreaks ) : string |
Convert the specified text to a single line text
|
|
DatabaseNameToCamelCase ( string databaseName ) : string | ||
DatabaseNameToPascalCase ( string databaseName ) : string | ||
EnsureDirectorySeperatorAtEnd ( string directory ) : string | ||
FirstCharToLower ( string inputString ) : string | ||
FirstCharToUpper ( string inputString ) : string | ||
GuidTryParse ( string s, System.Guid &result ) : bool | ||
LineBreakCode ( StringBuilder sb, string text, string prepend ) : void |
Given text prepend the specified prefix and add each line to a string builder
|
|
MakeValidCamelCaseVariableName ( string inputString ) : string | ||
MakeValidDatabaseCaseVariableName ( string inputString ) : string | ||
MakeValidPascalCaseVariableName ( string inputString ) : string | ||
Match ( object s1, string s2, bool ignoreCase ) : bool | ||
Match ( string s1, string s2 ) : bool | ||
Match ( string s1, string s2, bool ignoreCase ) : bool | ||
MemoryStreamToString ( |
||
PascalCaseToDatabase ( string pascalCase ) : string | ||
StringReplace ( string text, string oldValue, string newValue ) : string |
Case Insensitive String Replace
|
|
StringToByteArray ( string str ) : Byte[] | ||
StringToMemoryStream ( string str ) : |
||
WriteGeneratedCommentSection ( int tabCount, StringBuilder writer, string text ) : void |
Take the specified text and break it into lines and write it as a C# comment
|
Method | Description | |
---|---|---|
ReplaceWithUpper ( |
||
StringHelper ( ) : System |
public static ByteArrayToHexString ( byte bytes ) : string | ||
bytes | byte | |
return | string |
public static ByteArrayToString ( byte byteArray ) : string | ||
byteArray | byte | |
return | string |
public static ByteArrayToString ( byte byteArray, |
||
byteArray | byte | |
encoder | ||
return | string |
public static ByteArrayToString ( byte byteArray, int length ) : string | ||
byteArray | byte | |
length | int | |
return | string |
public static CamelCaseToDatabase ( string camelCase ) : string | ||
camelCase | string | |
return | string |
public static ConvertTextToSingleLineCodeString ( string text ) : string | ||
text | string | |
return | string |
public static ConvertTextToSingleLineCodeString ( string text, bool convertBreaks ) : string | ||
text | string | |
convertBreaks | bool | |
return | string |
public static DatabaseNameToCamelCase ( string databaseName ) : string | ||
databaseName | string | |
return | string |
public static DatabaseNameToPascalCase ( string databaseName ) : string | ||
databaseName | string | |
return | string |
public static EnsureDirectorySeperatorAtEnd ( string directory ) : string | ||
directory | string | |
return | string |
public static FirstCharToLower ( string inputString ) : string | ||
inputString | string | |
return | string |
public static FirstCharToUpper ( string inputString ) : string | ||
inputString | string | |
return | string |
public static GuidTryParse ( string s, System.Guid &result ) : bool | ||
s | string | |
result | System.Guid | |
return | bool |
public static LineBreakCode ( StringBuilder sb, string text, string prepend ) : void | ||
sb | StringBuilder | The StringBuilder to which to add the processed lines |
text | string | The text to break into lines |
prepend | string | The text to prepend each line |
return | void |
public static MakeValidCamelCaseVariableName ( string inputString ) : string | ||
inputString | string | |
return | string |
public static MakeValidDatabaseCaseVariableName ( string inputString ) : string | ||
inputString | string | |
return | string |
public static MakeValidPascalCaseVariableName ( string inputString ) : string | ||
inputString | string | |
return | string |
public static Match ( object s1, string s2, bool ignoreCase ) : bool | ||
s1 | object | |
s2 | string | |
ignoreCase | bool | |
return | bool |
public static Match ( string s1, string s2 ) : bool | ||
s1 | string | |
s2 | string | |
return | bool |
public static Match ( string s1, string s2, bool ignoreCase ) : bool | ||
s1 | string | |
s2 | string | |
ignoreCase | bool | |
return | bool |
public static MemoryStreamToString ( |
||
memStream | ||
return | String |
public static PascalCaseToDatabase ( string pascalCase ) : string | ||
pascalCase | string | |
return | string |
public static StringReplace ( string text, string oldValue, string newValue ) : string | ||
text | string | |
oldValue | string | |
newValue | string | |
return | string |
public static StringToByteArray ( string str ) : Byte[] | ||
str | string | |
return | Byte[] |
public static StringToMemoryStream ( string str ) : |
||
str | string | |
return |
public static WriteGeneratedCommentSection ( int tabCount, StringBuilder writer, string text ) : void | ||
tabCount | int | The number of preceding tabs |
writer | StringBuilder | The string builder to write the text |
text | string | The text to process |
return | void |