C# Class WebApplications.Utilities.Enumerations.TriState

Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Свойство Type Description
Equal TriState
False TriState
Negative TriState
No TriState
Positive TriState
True TriState
Undefined TriState
Unknown TriState
Yes TriState

Méthodes publiques

Méthode Description
ToString ( ) : string

Returns a string that represents this instance. Uses the default format of Style.YesUnknownNo.

ToString ( string format, IFormatProvider formatProvider ) : string

Formats the value of the current instance using the specified format.

Private Methods

Méthode Description
ToString ( Style style ) : string
TriState ( byte state ) : System

Used internally to create the different states.

Method Details

ToString() public méthode

Returns a string that represents this instance. Uses the default format of Style.YesUnknownNo.
public ToString ( ) : string
Résultat string

ToString() public méthode

Formats the value of the current instance using the specified format.
/// The format must be one of the following: /// /// G /// Y /// T /// N /// ///
public ToString ( string format, IFormatProvider formatProvider ) : string
format string /// The format to use. /// /// G - Yes/Unknown/No. If the format string is null or empty then G is used. /// Y - Yes/Unknown/No. /// T - True/Undefined/False. /// N - Positive/Equal/Negative. /// /// If the format is not one of the above it will try and parse it to a . ///
formatProvider IFormatProvider /// The provider to use to format the value. Specify to obtain the numeric format information /// from the current locale setting of the operating system. ///
Résultat string

Property Details

Equal public_oe static_oe property

State: Equal.
public static TriState,WebApplications.Utilities.Enumerations Equal
Résultat TriState

False public_oe static_oe property

State: False.
public static TriState,WebApplications.Utilities.Enumerations False
Résultat TriState

Negative public_oe static_oe property

State: Negative.
public static TriState,WebApplications.Utilities.Enumerations Negative
Résultat TriState

No public_oe static_oe property

State: No.
public static TriState,WebApplications.Utilities.Enumerations No
Résultat TriState

Positive public_oe static_oe property

State: Positive.
public static TriState,WebApplications.Utilities.Enumerations Positive
Résultat TriState

True public_oe static_oe property

State: True.
public static TriState,WebApplications.Utilities.Enumerations True
Résultat TriState

Undefined public_oe static_oe property

State: Undefined.
public static TriState,WebApplications.Utilities.Enumerations Undefined
Résultat TriState

Unknown public_oe static_oe property

State: Unknown.
public static TriState,WebApplications.Utilities.Enumerations Unknown
Résultat TriState

Yes public_oe static_oe property

State: Yes.
public static TriState,WebApplications.Utilities.Enumerations Yes
Résultat TriState