C# Class Qowaiv.Formatting.FormattingArguments

显示文件 Open project: Corniel/Qowaiv Class Usage Examples

Public Properties

Property Type Description
None FormattingArguments

Private Properties

Property Type Description
FormattingArguments System
ISerializable void

Public Methods

Method Description
Equals ( object obj ) : bool

Returns true if this instance and the other object are equal, otherwise false.

FormattingArguments ( IFormatProvider formatProvider ) : System

Initializes a new instance of new formatting arguments.

FormattingArguments ( string format ) : System

Initializes a new instance of new formatting arguments.

FormattingArguments ( string format, IFormatProvider formatProvider ) : System

Initializes a new instance of new formatting arguments.

GetHashCode ( ) : int

Returns the hash code for this formatting arguments.

ToString ( IFormattable obj ) : string

Formats the object using the formatting arguments.

ToString ( object obj ) : string

Formats the object using the formatting arguments.

If the object does not implement IFormattable, the ToString() will be used.

operator ( ) : bool

Returns true if the left and right operand are equal, otherwise false.

Private Methods

Method Description
FormattingArguments ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of formatting arguments based on the serialization info.

ISerializable ( SerializationInfo info, StreamingContext context ) : void

Adds the underlying property of formatting arguments to the serialization info.

Method Details

Equals() public method

Returns true if this instance and the other object are equal, otherwise false.
public Equals ( object obj ) : bool
obj object An object to compare with.
return bool

FormattingArguments() public method

Initializes a new instance of new formatting arguments.
public FormattingArguments ( IFormatProvider formatProvider ) : System
formatProvider IFormatProvider /// The format provider. ///
return System

FormattingArguments() public method

Initializes a new instance of new formatting arguments.
public FormattingArguments ( string format ) : System
format string /// The format. ///
return System

FormattingArguments() public method

Initializes a new instance of new formatting arguments.
public FormattingArguments ( string format, IFormatProvider formatProvider ) : System
format string /// The format. ///
formatProvider IFormatProvider /// The format provider. ///
return System

GetHashCode() public method

Returns the hash code for this formatting arguments.
public GetHashCode ( ) : int
return int

ToString() public method

Formats the object using the formatting arguments.
public ToString ( IFormattable obj ) : string
obj IFormattable /// The IFormattable object to get the formatted string representation from. ///
return string

ToString() public method

Formats the object using the formatting arguments.
If the object does not implement IFormattable, the ToString() will be used.
public ToString ( object obj ) : string
obj object /// The object to get the formatted string representation from. ///
return string

operator() public static method

Returns true if the left and right operand are equal, otherwise false.
public static operator ( ) : bool
return bool

Property Details

None public_oe static_oe property

Represents empty/not set formatting arguments.
public static FormattingArguments,Qowaiv.Formatting None
return FormattingArguments