C# Класс System.Xml.Xsl.XmlQueryCardinality

Cardinality of part of XmlQueryType struct is being used because enum doesn't allow members
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IsSubset ( XmlQueryCardinality other ) : bool

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

XmlQueryCardinality ( int value ) : System.Diagnostics

Private constructor

Описание методов

AtMost() публичный Метод

Compute the cardinality of a subset of a set of the given cardinality.
public AtMost ( ) : XmlQueryCardinality
Результат XmlQueryCardinality

Equals() публичный Метод

Strongly-typed Equals that returns true if this type and "other" type are equivalent.
public Equals ( XmlQueryCardinality other ) : bool
other XmlQueryCardinality
Результат bool

Equals() публичный Метод

True if "other" is an XmlQueryCardinality, and this type is the exact same static type.
public Equals ( object other ) : bool
other object
Результат bool

GetHashCode() публичный Метод

Return hash code of this instance.
public GetHashCode ( ) : int
Результат int

NeverSubset() публичный Метод

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
Результат bool

ToString() публичный Метод

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).
public ToString ( ) : string
Результат string

ToString() публичный Метод

Return the string representation of a cardinality, normalized to either ?, +, *, or "" (card 1).
public ToString ( string format ) : string
format string
Результат string

XmlQueryCardinality() публичный Метод

Deserialization
public XmlQueryCardinality ( string s ) : System.Diagnostics
s string
Результат System.Diagnostics

operator() публичный статический Метод

Return union with other
public static operator ( ) : XmlQueryCardinality
Результат XmlQueryCardinality

operator() публичный статический Метод

Overload == operator to call Equals rather than do reference equality.
public static operator ( ) : bool
Результат bool