C# Class System.Globalization.CompareInfo

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
ClearDefaultAssemblyCache void
Compare int
CompareInfo System
CompareRegion int
GetCompareInfoByName CompareInfo
GetHashCodeOfString int
GetSortingLCID int
IDeserializationCallback void
IndexOfChar int
IndexOfString int
InitializeCompareInfo void*
InitializeNativeCompareInfo void*
IsSortable bool
IsSortable bool
LastIndexOfChar int
LastIndexOfString int
OnDeserialized void
OnDeserialized void
OnDeserializing void
OnSerializing void
SetName void
nativeCompareString int
nativeCreateSortKey byte[]
nativeGetGlobalizedHashCode int
nativeIsPrefix bool
nativeIsSortable bool
nativeIsSuffix bool

Public Methods

Method Description
Compare ( String string1, String string2 ) : int
Compare ( String string1, String string2, CompareOptions options ) : int
Compare ( String string1, int offset1, String string2, int offset2 ) : int
Compare ( String string1, int offset1, String string2, int offset2, CompareOptions options ) : int
Compare ( String string1, int offset1, int length1, String string2, int offset2, int length2 ) : int
Compare ( String string1, int offset1, int length1, String string2, int offset2, int length2, CompareOptions options ) : int
Equals ( Object value ) : bool
GetCompareInfo ( String name ) : CompareInfo
GetCompareInfo ( String name, Assembly assembly ) : CompareInfo
GetCompareInfo ( int culture ) : CompareInfo
GetCompareInfo ( int culture, Assembly assembly ) : CompareInfo
GetHashCode ( ) : int
GetSortKey ( String source ) : SortKey
GetSortKey ( String source, CompareOptions options ) : SortKey
IndexOf ( String source, String value ) : int
IndexOf ( String source, String value, CompareOptions options ) : int
IndexOf ( String source, String value, int startIndex ) : int
IndexOf ( String source, String value, int startIndex, CompareOptions options ) : int
IndexOf ( String source, String value, int startIndex, int count ) : int
IndexOf ( String source, String value, int startIndex, int count, CompareOptions options ) : int
IndexOf ( String source, char value ) : int
IndexOf ( String source, char value, CompareOptions options ) : int
IndexOf ( String source, char value, int startIndex ) : int
IndexOf ( String source, char value, int startIndex, CompareOptions options ) : int
IndexOf ( String source, char value, int startIndex, int count ) : int
IndexOf ( String source, char value, int startIndex, int count, CompareOptions options ) : int
IsPrefix ( String source, String prefix ) : bool
IsPrefix ( String source, String prefix, CompareOptions options ) : bool
IsSuffix ( String source, String suffix ) : bool
IsSuffix ( String source, String suffix, CompareOptions options ) : bool
LastIndexOf ( String source, String value ) : int
LastIndexOf ( String source, String value, CompareOptions options ) : int
LastIndexOf ( String source, String value, int startIndex ) : int
LastIndexOf ( String source, String value, int startIndex, CompareOptions options ) : int
LastIndexOf ( String source, String value, int startIndex, int count ) : int
LastIndexOf ( String source, String value, int startIndex, int count, CompareOptions options ) : int
LastIndexOf ( String source, char value ) : int
LastIndexOf ( String source, char value, CompareOptions options ) : int
LastIndexOf ( String source, char value, int startIndex ) : int
LastIndexOf ( String source, char value, int startIndex, CompareOptions options ) : int
LastIndexOf ( String source, char value, int startIndex, int count ) : int
LastIndexOf ( String source, char value, int startIndex, int count, CompareOptions options ) : int
ToString ( ) : String

Private Methods

Method Description
ClearDefaultAssemblyCache ( ) : void
Compare ( void pSortingTable, int sortingLCID, String string1, String string2, CompareOptions options ) : int
CompareInfo ( GlobalizationAssembly ga, int culture ) : System
CompareRegion ( void pSortingTable, int sortingLCID, String string1, int offset1, int length1, String string2, int offset2, int length2, CompareOptions options ) : int
GetCompareInfoByName ( string name, Assembly assembly ) : CompareInfo
GetHashCodeOfString ( string source, CompareOptions options ) : int
GetSortingLCID ( int culture ) : int
IDeserializationCallback ( Object sender ) : void
IndexOfChar ( void pSortingTable, int sortingLCID, String source, char value, int startIndex, int count, int options ) : int
IndexOfString ( void pSortingTable, int sortingLCID, String source, String value, int startIndex, int count, int options ) : int
InitializeCompareInfo ( void pNativeGlobalizationAssembly, int sortingLCID ) : void*
InitializeNativeCompareInfo ( void pNativeGlobalizationAssembly, int sortingLCID ) : void*
IsSortable ( String text ) : bool
IsSortable ( char ch ) : bool
LastIndexOfChar ( void pSortingTable, int sortingLCID, String source, char value, int startIndex, int count, int options ) : int
LastIndexOfString ( void pSortingTable, int sortingLCID, String source, String value, int startIndex, int count, int options ) : int
OnDeserialized ( ) : void
OnDeserialized ( StreamingContext ctx ) : void
OnDeserializing ( StreamingContext ctx ) : void
OnSerializing ( StreamingContext ctx ) : void
SetName ( string name ) : void
nativeCompareString ( int lcid, string string1, int offset1, int length1, string string2, int offset2, int length2, int flags ) : int
nativeCreateSortKey ( void pSortingFile, String pString, int dwFlags, int win32LCID ) : byte[]
nativeGetGlobalizedHashCode ( void pSortingFile, String pString, int dwFlags, int win32LCID ) : int
nativeIsPrefix ( void pSortingTable, int sortingLCID, String source, String prefix, CompareOptions options ) : bool
nativeIsSortable ( void pSortingFile, String pString ) : bool
nativeIsSuffix ( void pSortingTable, int sortingLCID, String source, String prefix, CompareOptions options ) : bool

Method Details

Compare() public method

public Compare ( String string1, String string2 ) : int
string1 String
string2 String
return int

Compare() public method

public Compare ( String string1, String string2, CompareOptions options ) : int
string1 String
string2 String
options CompareOptions
return int

Compare() public method

public Compare ( String string1, int offset1, String string2, int offset2 ) : int
string1 String
offset1 int
string2 String
offset2 int
return int

Compare() public method

public Compare ( String string1, int offset1, String string2, int offset2, CompareOptions options ) : int
string1 String
offset1 int
string2 String
offset2 int
options CompareOptions
return int

Compare() public method

public Compare ( String string1, int offset1, int length1, String string2, int offset2, int length2 ) : int
string1 String
offset1 int
length1 int
string2 String
offset2 int
length2 int
return int

Compare() public method

public Compare ( String string1, int offset1, int length1, String string2, int offset2, int length2, CompareOptions options ) : int
string1 String
offset1 int
length1 int
string2 String
offset2 int
length2 int
options CompareOptions
return int

Equals() public method

public Equals ( Object value ) : bool
value Object
return bool

GetCompareInfo() public static method

public static GetCompareInfo ( String name ) : CompareInfo
name String
return CompareInfo

GetCompareInfo() public static method

public static GetCompareInfo ( String name, Assembly assembly ) : CompareInfo
name String
assembly Assembly
return CompareInfo

GetCompareInfo() public static method

public static GetCompareInfo ( int culture ) : CompareInfo
culture int
return CompareInfo

GetCompareInfo() public static method

public static GetCompareInfo ( int culture, Assembly assembly ) : CompareInfo
culture int
assembly Assembly
return CompareInfo

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSortKey() public method

public GetSortKey ( String source ) : SortKey
source String
return SortKey

GetSortKey() public method

public GetSortKey ( String source, CompareOptions options ) : SortKey
source String
options CompareOptions
return SortKey

IndexOf() public method

public IndexOf ( String source, String value ) : int
source String
value String
return int

IndexOf() public method

public IndexOf ( String source, String value, CompareOptions options ) : int
source String
value String
options CompareOptions
return int

IndexOf() public method

public IndexOf ( String source, String value, int startIndex ) : int
source String
value String
startIndex int
return int

IndexOf() public method

public IndexOf ( String source, String value, int startIndex, CompareOptions options ) : int
source String
value String
startIndex int
options CompareOptions
return int

IndexOf() public method

public IndexOf ( String source, String value, int startIndex, int count ) : int
source String
value String
startIndex int
count int
return int

IndexOf() public method

public IndexOf ( String source, String value, int startIndex, int count, CompareOptions options ) : int
source String
value String
startIndex int
count int
options CompareOptions
return int

IndexOf() public method

public IndexOf ( String source, char value ) : int
source String
value char
return int

IndexOf() public method

public IndexOf ( String source, char value, CompareOptions options ) : int
source String
value char
options CompareOptions
return int

IndexOf() public method

public IndexOf ( String source, char value, int startIndex ) : int
source String
value char
startIndex int
return int

IndexOf() public method

public IndexOf ( String source, char value, int startIndex, CompareOptions options ) : int
source String
value char
startIndex int
options CompareOptions
return int

IndexOf() public method

public IndexOf ( String source, char value, int startIndex, int count ) : int
source String
value char
startIndex int
count int
return int

IndexOf() public method

public IndexOf ( String source, char value, int startIndex, int count, CompareOptions options ) : int
source String
value char
startIndex int
count int
options CompareOptions
return int

IsPrefix() public method

public IsPrefix ( String source, String prefix ) : bool
source String
prefix String
return bool

IsPrefix() public method

public IsPrefix ( String source, String prefix, CompareOptions options ) : bool
source String
prefix String
options CompareOptions
return bool

IsSuffix() public method

public IsSuffix ( String source, String suffix ) : bool
source String
suffix String
return bool

IsSuffix() public method

public IsSuffix ( String source, String suffix, CompareOptions options ) : bool
source String
suffix String
options CompareOptions
return bool

LastIndexOf() public method

public LastIndexOf ( String source, String value ) : int
source String
value String
return int

LastIndexOf() public method

public LastIndexOf ( String source, String value, CompareOptions options ) : int
source String
value String
options CompareOptions
return int

LastIndexOf() public method

public LastIndexOf ( String source, String value, int startIndex ) : int
source String
value String
startIndex int
return int

LastIndexOf() public method

public LastIndexOf ( String source, String value, int startIndex, CompareOptions options ) : int
source String
value String
startIndex int
options CompareOptions
return int

LastIndexOf() public method

public LastIndexOf ( String source, String value, int startIndex, int count ) : int
source String
value String
startIndex int
count int
return int

LastIndexOf() public method

public LastIndexOf ( String source, String value, int startIndex, int count, CompareOptions options ) : int
source String
value String
startIndex int
count int
options CompareOptions
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value ) : int
source String
value char
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value, CompareOptions options ) : int
source String
value char
options CompareOptions
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value, int startIndex ) : int
source String
value char
startIndex int
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value, int startIndex, CompareOptions options ) : int
source String
value char
startIndex int
options CompareOptions
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value, int startIndex, int count ) : int
source String
value char
startIndex int
count int
return int

LastIndexOf() public method

public LastIndexOf ( String source, char value, int startIndex, int count, CompareOptions options ) : int
source String
value char
startIndex int
count int
options CompareOptions
return int

ToString() public method

public ToString ( ) : String
return String