C# Class System.Xml.Xsl.XmlQueryCardinality

Cardinality of part of XmlQueryType struct is being used because enum doesn't allow members
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
AtMost ( ) : XmlQueryCardinality

Compute the cardinality of a subset of a set of the given cardinality.

Equals ( XmlQueryCardinality other ) : bool

Strongly-typed Equals that returns true if this type and "other" type are equivalent.

Equals ( object other ) : bool

True if "other" is an XmlQueryCardinality, and this type is the exact same static type.

GetHashCode ( ) : int

Return hash code of this instance.

NeverSubset ( XmlQueryCardinality other ) : bool

Returns true if every non-None subset of this cardinality is disjoint with "other" cardinality. Here is the behavior for None, which is the inverse of the None behavior for IsSubset: None op None = false None op ~None = false ~None op None = true

ToString ( ) : string

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).

ToString ( string format ) : string

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).

XmlQueryCardinality ( string s ) : System.Diagnostics

Deserialization

operator ( ) : XmlQueryCardinality

Return union with other

operator ( ) : bool

Overload == operator to call Equals rather than do reference equality.

Private Methods

Méthode Description
IsSubset ( XmlQueryCardinality other ) : bool

Returns true if this cardinality is guaranteed to be a subset of "other".

XmlQueryCardinality ( int value ) : System.Diagnostics

Private constructor

Method Details

AtMost() public méthode

Compute the cardinality of a subset of a set of the given cardinality.
public AtMost ( ) : XmlQueryCardinality
Résultat XmlQueryCardinality

Equals() public méthode

Strongly-typed Equals that returns true if this type and "other" type are equivalent.
public Equals ( XmlQueryCardinality other ) : bool
other XmlQueryCardinality
Résultat bool

Equals() public méthode

True if "other" is an XmlQueryCardinality, and this type is the exact same static type.
public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

Return hash code of this instance.
public GetHashCode ( ) : int
Résultat int

NeverSubset() public méthode

Returns true if every non-None subset of this cardinality is disjoint with "other" cardinality. Here is the behavior for None, which is the inverse of the None behavior for IsSubset: None op None = false None op ~None = false ~None op None = true
public NeverSubset ( XmlQueryCardinality other ) : bool
other XmlQueryCardinality
Résultat bool

ToString() public méthode

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).
public ToString ( ) : string
Résultat string

ToString() public méthode

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).
public ToString ( string format ) : string
format string
Résultat string

XmlQueryCardinality() public méthode

Deserialization
public XmlQueryCardinality ( string s ) : System.Diagnostics
s string
Résultat System.Diagnostics

operator() public static méthode

Return union with other
public static operator ( ) : XmlQueryCardinality
Résultat XmlQueryCardinality

operator() public static méthode

Overload == operator to call Equals rather than do reference equality.
public static operator ( ) : bool
Résultat bool