C# Класс Glipho.OAuth.Providers.Database.Mongo.Consumer

Наследование: ConsumerStub
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FromConsumer Consumer
ToConsumer Database.Consumer

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

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

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

Метод Описание
FromConsumer ( Database consumer ) : Consumer

Create a new consumer from a database consumer.

ToConsumer ( ) : Database.Consumer

Convert this consumer into a database consumer.

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

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

Initialises a new instance of the Consumer class.
public Consumer ( ) : System
Результат System

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

Determines whether the specified Consumer is equal to the current Consumer.
public Equals ( Consumer consumer ) : bool
consumer Consumer The to compare with the current .
Результат bool

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

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

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

Serves as a hash function for a Consumer.
public GetHashCode ( ) : int
Результат int

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

Returns a System.String that represents the current Consumer.
public ToString ( ) : string
Результат string