C# 클래스 gp.Files.QuoteDB

Create and Maintain a List of Random Quotes.
파일 보기 프로젝트 열기: vatsal/getputs

공개 메소드들

메소드 설명
GetRandomQuote ( ) : string

Get a RandomQuote from the QuoteDB List [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]

ReLoadList ( ) : void

Reload the QuoteDB List. [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]

StoreQuote ( string fullFilePath, int count ) : void

Get and Store n number of Random Quotes from the quoteLink, where n = Count [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]

비공개 메소드들

메소드 설명
QuoteDB ( ) : System

Reads Words File

메소드 상세

GetRandomQuote() 공개 메소드

Get a RandomQuote from the QuoteDB List [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]
public GetRandomQuote ( ) : string
리턴 string

ReLoadList() 공개 메소드

Reload the QuoteDB List. [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]
public ReLoadList ( ) : void
리턴 void

StoreQuote() 공개 메소드

Get and Store n number of Random Quotes from the quoteLink, where n = Count [Note: Do not forget to assign the FilePath (excluding the FileName) to the property: gp.Files.FileLoader.FilePath]
public StoreQuote ( string fullFilePath, int count ) : void
fullFilePath string The Path and the FileName.
count int The number of quotes to be returned.
리턴 void