C# Класс OakBot.Quote

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

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

Метод Описание
Quote ( string quote, string quoter, System.DateTime date, bool displayDate, string game, bool displayGame, System.DateTime lastDisplayed ) : System

Use to load in existing quotes from a database or from UI

Quote ( string quote, string quoter, string game ) : System

Use to add new quote to the bot by command

SetLastDisplayed ( ) : void

Set Last displayed to current UTC timestamp

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

Метод Описание
NotifyPropertyChanged ( string property ) : void

Private method to notify INotify on change

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

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

Use to load in existing quotes from a database or from UI
public Quote ( string quote, string quoter, System.DateTime date, bool displayDate, string game, bool displayGame, System.DateTime lastDisplayed ) : System
quote string The quote itself
quoter string The person saying the quote
date System.DateTime DateTime of the quote was made
displayDate bool Displaying of the quote date
game string The game that the streamer was playing when the quote was made
displayGame bool Displaying of the game
lastDisplayed System.DateTime DateTime of when the quote was last displayed (in chat)
Результат System

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

Use to add new quote to the bot by command
public Quote ( string quote, string quoter, string game ) : System
quote string The quote itself
quoter string The person saying the quote
game string The game that the streamer was playing when the quote was made
Результат System

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

Set Last displayed to current UTC timestamp
public SetLastDisplayed ( ) : void
Результат void