C# Class Taikandi.Telebot.Types.MimeTypes

Datei anzeigen Open project: mrtaikandi/Telebot

Public Methods

Method Description
Equals ( MimeTypes other ) : bool

Determines whether the specified MimeTypes is equal to the current MimeTypes.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ToString ( ) : string

Returns a string that represents the current object.

operator ( ) : bool

Private Methods

Method Description
MimeTypes ( string value )

Initializes a new instance of the MimeTypes class.

Method Details

Equals() public method

Determines whether the specified MimeTypes is equal to the current MimeTypes.
public Equals ( MimeTypes other ) : bool
other MimeTypes /// The to compare with the current instance. ///
return bool

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool