C# Class ScheduleApp.PhraseManager

显示文件 Open project: AndyCYao/AndroidSchedulerApp Class Usage Examples

Public Methods

Method Description
AddPhrase ( Phrase input ) : int
Load ( string path ) : Task
PhraseAt ( int index ) : Phrase
PhraseCount ( ) : int
PhraseManager ( string filePath = "" ) : System.Collections.Generic
RemovePhrase ( Phrase input ) : int
RemovePhraseAt ( int index ) : int
Save ( string path ) : void

Method Details

AddPhrase() public method

public AddPhrase ( Phrase input ) : int
input Phrase
return int

Load() public method

public Load ( string path ) : Task
path string
return Task

PhraseAt() public method

public PhraseAt ( int index ) : Phrase
index int
return Phrase

PhraseCount() public method

public PhraseCount ( ) : int
return int

PhraseManager() public method

public PhraseManager ( string filePath = "" ) : System.Collections.Generic
filePath string
return System.Collections.Generic

RemovePhrase() public method

public RemovePhrase ( Phrase input ) : int
input Phrase
return int

RemovePhraseAt() public method

public RemovePhraseAt ( int index ) : int
index int
return int

Save() public method

public Save ( string path ) : void
path string
return void