Метод | Описание | |
---|---|---|
AddAccelerator ( string strMenuText, List |
||
AlphaNumericOnly ( string str ) : string | ||
BoolToString ( bool bValue ) : string | ||
BoolToStringEx ( bool bValue ) : string | ||
ByteToSafeChar ( byte bt ) : char | ||
ColorToUnnamedHtml ( Color color, bool bEmptyIfTransparent ) : string |
/// Initialize an RTF document based on given font face and size. /// /// Convert a simple HTML string to an RTF string. /// Convert a
|
|
CompactString3Dots ( string strText, int nMaxChars ) : string | ||
CompareLengthGt ( string x, string y ) : int | ||
CompareNaturally ( string strX, string strY ) : int | ||
Count ( string str, string strNeedle ) : int | ||
DataToDataUri ( byte pbData, string strMimeType ) : string |
Create a data URI (according to RFC 2397).
|
|
DataUriToData ( string strDataUri ) : byte[] |
Convert a data URI (according to RFC 2397) to binary data.
|
|
DecryptString ( string strCipherText ) : string | ||
Deobfuscate ( string strObf ) : string | ||
DeserializeIntArray ( string strSerialized ) : int[] | ||
EncodeMenuText ( string strText ) : string | ||
EncodeToolTipText ( string strText ) : string | ||
EncryptString ( string strPlainText ) : string | ||
FormatDataSize ( ulong uBytes ) : string | ||
FormatDataSizeKB ( ulong uBytes ) : string | ||
FormatException ( |
Format an exception and convert it to a string.
|
|
GetEncoding ( StrEncodingType t ) : |
||
GetEncoding ( string strName ) : |
||
GetNewLineSeq ( string str ) : string | ||
GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd ) : string | ||
GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd, int &nInnerStartIndex ) : string | ||
GetUnusedChar ( string strText ) : char |
Find a character that does not occur within a given text.
|
|
IsDataUri ( string strUri ) : bool | ||
IsDataUri ( string strUri, string strReqMimeType ) : bool | ||
IsHexString ( string str, bool bStrict ) : bool | ||
MultiToSingleLine ( string strMulti ) : string | ||
NormalizeNewLines ( string str, bool bWindows ) : string |
Normalize new line characters in a string. Input strings may contain mixed new line character sequences from all commonly used operating systems (i.e. \r\n from Windows, \n from Unix and \r from Mac OS.
|
|
NormalizeNewLines ( ProtectedStringDictionary dict, bool bWindows ) : void | ||
Obfuscate ( string strPlain ) : string | ||
ParseVersion ( string strVersion ) : ulong | ||
RemoveAccelerator ( string strMenuText ) : string | ||
RemovePlaceholders ( string str ) : string |
Remove placeholders from a string (wrapped in '{' and '}'). This doesn't remove environment variables (wrapped in '%').
|
|
ReplaceCaseInsensitive ( string strString, string strFind, string strNew ) : string | ||
RtfEncodeChar ( char ch ) : string |
/// Convert a string into a valid RTF string. ///
|
|
SafeXmlString ( string strText ) : string |
Removes all characters that are not valid XML characters, according to http://www.w3.org/TR/xml/#charsets .
|
|
SerializeIntArray ( int vNumbers ) : string | ||
SimplePatternMatch ( string strPattern, string strText, System.StringComparison sc ) : bool | ||
SplitCommandLine ( string strCmdLine, string &strApp, string &strArgs ) : void |
Split up a command line into application and argument.
|
|
SplitSearchTerms ( string strSearch ) : List |
||
SplitWithSep ( string str, string vSeps, bool bCaseSensitive ) : List |
Split a string and include the separators in the splitted array.
|
|
StringToBool ( string str ) : bool | ||
StringToBoolEx ( string str ) : bool? | ||
StringToHtml ( string str ) : string |
Convert a string into a valid HTML sequence representing that string.
|
|
StringToTags ( string strTags ) : List |
||
TagsToString ( List |
||
TryParseDateTime ( string str, System.DateTime &dt ) : bool | ||
TryParseInt ( string str, int &n ) : bool | ||
TryParseIntInvariant ( string str, int &n ) : bool | ||
TryParseLong ( string str, long &n ) : bool | ||
TryParseLongInvariant ( string str, long &n ) : bool | ||
TryParseUInt ( string str, uint &u ) : bool | ||
TryParseUIntInvariant ( string str, uint &u ) : bool | ||
TryParseULong ( string str, ulong &u ) : bool | ||
TryParseULongInvariant ( string str, ulong &u ) : bool | ||
TryParseUShort ( string str, ushort &u ) : bool | ||
VersionToString ( ulong uVersion ) : string | ||
VersionToString ( ulong uVersion, uint uMinComp ) : string | ||
XmlToString ( string str ) : string |
Метод | Описание | |
---|---|---|
VersionToString ( ulong uVersion, bool bEnsureAtLeastTwoComp ) : string |
public static AddAccelerator ( string strMenuText, List |
||
strMenuText | string | |
lAvailKeys | List |
|
Результат | string |
public static AlphaNumericOnly ( string str ) : string | ||
str | string | |
Результат | string |
public static BoolToString ( bool bValue ) : string | ||
bValue | bool | |
Результат | string |
public static BoolToStringEx ( bool bValue ) : string | ||
bValue | bool | |
Результат | string |
public static ByteToSafeChar ( byte bt ) : char | ||
bt | byte | |
Результат | char |
public static ColorToUnnamedHtml ( Color color, bool bEmptyIfTransparent ) : string | ||
color | Color | Color to convert. |
bEmptyIfTransparent | bool | If this is |
Результат | string |
public static CompactString3Dots ( string strText, int nMaxChars ) : string | ||
strText | string | |
nMaxChars | int | |
Результат | string |
public static CompareLengthGt ( string x, string y ) : int | ||
x | string | |
y | string | |
Результат | int |
public static CompareNaturally ( string strX, string strY ) : int | ||
strX | string | |
strY | string | |
Результат | int |
public static Count ( string str, string strNeedle ) : int | ||
str | string | |
strNeedle | string | |
Результат | int |
public static DataToDataUri ( byte pbData, string strMimeType ) : string | ||
pbData | byte | Data to encode. |
strMimeType | string | Optional MIME type. If |
Результат | string |
public static DataUriToData ( string strDataUri ) : byte[] | ||
strDataUri | string | Data URI to decode. |
Результат | byte[] |
public static DecryptString ( string strCipherText ) : string | ||
strCipherText | string | |
Результат | string |
public static Deobfuscate ( string strObf ) : string | ||
strObf | string | |
Результат | string |
public static DeserializeIntArray ( string strSerialized ) : int[] | ||
strSerialized | string | |
Результат | int[] |
public static EncodeMenuText ( string strText ) : string | ||
strText | string | |
Результат | string |
public static EncodeToolTipText ( string strText ) : string | ||
strText | string | |
Результат | string |
public static EncryptString ( string strPlainText ) : string | ||
strPlainText | string | |
Результат | string |
public static FormatDataSize ( ulong uBytes ) : string | ||
uBytes | ulong | |
Результат | string |
public static FormatDataSizeKB ( ulong uBytes ) : string | ||
uBytes | ulong | |
Результат | string |
public static FormatException ( |
||
excp | ||
Результат | string |
public static GetEncoding ( StrEncodingType t ) : |
||
t | StrEncodingType | |
Результат |
public static GetEncoding ( string strName ) : |
||
strName | string | |
Результат |
public static GetNewLineSeq ( string str ) : string | ||
str | string | |
Результат | string |
public static GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd ) : string | ||
strText | string | |
nStartIndex | int | |
strStart | string | |
strEnd | string | |
Результат | string |
public static GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd, int &nInnerStartIndex ) : string | ||
strText | string | |
nStartIndex | int | |
strStart | string | |
strEnd | string | |
nInnerStartIndex | int | |
Результат | string |
public static GetUnusedChar ( string strText ) : char | ||
strText | string | |
Результат | char |
public static IsDataUri ( string strUri ) : bool | ||
strUri | string | |
Результат | bool |
public static IsDataUri ( string strUri, string strReqMimeType ) : bool | ||
strUri | string | |
strReqMimeType | string | |
Результат | bool |
public static IsHexString ( string str, bool bStrict ) : bool | ||
str | string | |
bStrict | bool | |
Результат | bool |
public static MultiToSingleLine ( string strMulti ) : string | ||
strMulti | string | |
Результат | string |
public static NormalizeNewLines ( string str, bool bWindows ) : string | ||
str | string | String with mixed new line characters. |
bWindows | bool | If |
Результат | string |
public static NormalizeNewLines ( ProtectedStringDictionary dict, bool bWindows ) : void | ||
dict | ProtectedStringDictionary | |
bWindows | bool | |
Результат | void |
public static Obfuscate ( string strPlain ) : string | ||
strPlain | string | |
Результат | string |
public static ParseVersion ( string strVersion ) : ulong | ||
strVersion | string | |
Результат | ulong |
public static RemoveAccelerator ( string strMenuText ) : string | ||
strMenuText | string | |
Результат | string |
public static RemovePlaceholders ( string str ) : string | ||
str | string | |
Результат | string |
public static ReplaceCaseInsensitive ( string strString, string strFind, string strNew ) : string | ||
strString | string | |
strFind | string | |
strNew | string | |
Результат | string |
public static RtfEncodeChar ( char ch ) : string | ||
ch | char | |
Результат | string |
public static SafeXmlString ( string strText ) : string | ||
strText | string | Source text. |
Результат | string |
public static SerializeIntArray ( int vNumbers ) : string | ||
vNumbers | int | |
Результат | string |
public static SimplePatternMatch ( string strPattern, string strText, System.StringComparison sc ) : bool | ||
strPattern | string | |
strText | string | |
sc | System.StringComparison | |
Результат | bool |
public static SplitCommandLine ( string strCmdLine, string &strApp, string &strArgs ) : void | ||
strCmdLine | string | Command line to split. |
strApp | string | Application path. |
strArgs | string | Arguments. |
Результат | void |
public static SplitSearchTerms ( string strSearch ) : List |
||
strSearch | string | |
Результат | List |
public static SplitWithSep ( string str, string vSeps, bool bCaseSensitive ) : List |
||
str | string | String to split. |
vSeps | string | Separators. |
bCaseSensitive | bool | Specifies whether separators are /// matched case-sensitively or not. |
Результат | List |
public static StringToBool ( string str ) : bool | ||
str | string | |
Результат | bool |
public static StringToBoolEx ( string str ) : bool? | ||
str | string | |
Результат | bool? |
public static StringToHtml ( string str ) : string | ||
str | string | String to convert. |
Результат | string |
public static StringToTags ( string strTags ) : List |
||
strTags | string | |
Результат | List |
public static TagsToString ( List |
||
vTags | List |
|
bForDisplay | bool | |
Результат | string |
public static TryParseDateTime ( string str, System.DateTime &dt ) : bool | ||
str | string | |
dt | System.DateTime | |
Результат | bool |
public static TryParseInt ( string str, int &n ) : bool | ||
str | string | |
n | int | |
Результат | bool |
public static TryParseIntInvariant ( string str, int &n ) : bool | ||
str | string | |
n | int | |
Результат | bool |
public static TryParseLong ( string str, long &n ) : bool | ||
str | string | |
n | long | |
Результат | bool |
public static TryParseLongInvariant ( string str, long &n ) : bool | ||
str | string | |
n | long | |
Результат | bool |
public static TryParseUInt ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
Результат | bool |
public static TryParseUIntInvariant ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
Результат | bool |
public static TryParseULong ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
Результат | bool |
public static TryParseULongInvariant ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
Результат | bool |
public static TryParseUShort ( string str, ushort &u ) : bool | ||
str | string | |
u | ushort | |
Результат | bool |
public static VersionToString ( ulong uVersion ) : string | ||
uVersion | ulong | |
Результат | string |
public static VersionToString ( ulong uVersion, uint uMinComp ) : string | ||
uVersion | ulong | |
uMinComp | uint | |
Результат | string |
public static XmlToString ( string str ) : string | ||
str | string | |
Результат | string |