//-------------------------------------------------------------------------------------------- public CiscoPhoneDirectoryEntry Add(string name, string number) { CiscoPhoneDirectoryEntry directoryentry = new CiscoPhoneDirectoryEntry(); directoryentry.Name = name; directoryentry.Number = number; return Add(directoryentry); }
//-------------------------------------------------------------------------------------------- public int IndexOf(CiscoPhoneDirectoryEntry directoryentry) { return List.IndexOf(directoryentry); }
//-------------------------------------------------------------------------------------------- public CiscoPhoneDirectoryEntry Add(CiscoPhoneDirectoryEntry directoryentry) { List.Add(directoryentry); return directoryentry; }
//-------------------------------------------------------------------------------------------- public CiscoPhoneDirectoryEntry Add() { CiscoPhoneDirectoryEntry directoryentry = new CiscoPhoneDirectoryEntry(); return Add(directoryentry); }