C# Class OakBot.Quote

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: ocgineer/OakBot Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
NotifyPropertyChanged ( string property ) : void

Private method to notify INotify on change

Method Details

Quote() public method

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)
return System

Quote() public method

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
return System

SetLastDisplayed() public method

Set Last displayed to current UTC timestamp
public SetLastDisplayed ( ) : void
return void