C# 클래스 OakBot.Quote

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: ocgineer/OakBot 1 사용 예제들

공개 메소드들

메소드 설명
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