C# Class Glipho.OAuth.Providers.Database.Mongo.Consumer

Inheritance: ConsumerStub
Afficher le fichier Open project: Glipho/oauth-providers Class Usage Examples

Private Properties

Свойство Type Description
FromConsumer Consumer
ToConsumer Database.Consumer

Méthodes publiques

Méthode Description
Consumer ( ) : System

Initialises a new instance of the Consumer class.

Equals ( Consumer consumer ) : bool

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

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current Consumer.

GetHashCode ( ) : int

Serves as a hash function for a Consumer.

ToString ( ) : string

Returns a System.String that represents the current Consumer.

Private Methods

Méthode Description
FromConsumer ( Database consumer ) : Consumer

Create a new consumer from a database consumer.

ToConsumer ( ) : Database.Consumer

Convert this consumer into a database consumer.

Method Details

Consumer() public méthode

Initialises a new instance of the Consumer class.
public Consumer ( ) : System
Résultat System

Equals() public méthode

Determines whether the specified Consumer is equal to the current Consumer.
public Equals ( Consumer consumer ) : bool
consumer Consumer The to compare with the current .
Résultat bool

Equals() public méthode

Determines whether the specified System.Object is equal to the current Consumer.
public Equals ( object obj ) : bool
obj object The to compare with the current .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a Consumer.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a System.String that represents the current Consumer.
public ToString ( ) : string
Résultat string