C# Class Phonebook.PhonebookRepositoryWithDictionary

Inheritance: IDeletablePhonebookRepository, IPhonebookRepository
ファイルを表示 Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
AddPhone ( string name, IEnumerable nums ) : bool
ChangePhone ( string oldent, string newent ) : int
ListEntries ( int first, int num ) : Phonebook.PhoneEntry[]

Method Details

AddPhone() public method

public AddPhone ( string name, IEnumerable nums ) : bool
name string
nums IEnumerable
return bool

ChangePhone() public method

public ChangePhone ( string oldent, string newent ) : int
oldent string
newent string
return int

ListEntries() public method

public ListEntries ( int first, int num ) : Phonebook.PhoneEntry[]
first int
num int
return Phonebook.PhoneEntry[]