C# Class System.Xml.XmlBaseReader.AttributeSorter

Inheritance: IComparer
显示文件 Open project: dotnet/corefx

Public Methods

Method Description
Close ( ) : void
Compare ( object obj1, object obj2 ) : int
CompareQNameType ( QNameType type1, QNameType type2 ) : int
GetIndeces ( int &attributeIndex1, int &attributeIndex2 ) : void
Sort ( XmlAttributeNode attributeNodes, int attributeCount ) : bool

Private Methods

Method Description
IsSorted ( ) : bool
Sort ( ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Compare() public method

public Compare ( object obj1, object obj2 ) : int
obj1 object
obj2 object
return int

CompareQNameType() public method

public CompareQNameType ( QNameType type1, QNameType type2 ) : int
type1 QNameType
type2 QNameType
return int

GetIndeces() public method

public GetIndeces ( int &attributeIndex1, int &attributeIndex2 ) : void
attributeIndex1 int
attributeIndex2 int
return void

Sort() public method

public Sort ( XmlAttributeNode attributeNodes, int attributeCount ) : bool
attributeNodes XmlAttributeNode
attributeCount int
return bool