示例#1
0
 public Email(Contact from, string title, string body, List<Contact> receivers)
 {
     this.title = title;
     this.from = from;
     this.body = body;
     this.receivers = receivers;
 }
示例#2
0
        public static void GenerateDefaultContacts()
        {
            User = new Contact("Me", "", "", "");
            noContactYet = new Contact("...", "", "", "");

            Contacts.Add(new Contact("Dad", "", "45645778", "*****@*****.**"));
            Contacts.Add(new Contact("Richard", "Johnson", "15648753", "*****@*****.**"));
            Contacts.Add(new Contact("Gertrude", "Wright", "65498561", "*****@*****.**"));
            Contacts.Add(new Contact("Pizza", "Hut", "98139055", ""));
            Contacts.Add(new Contact("Mom", "", "86862386", "*****@*****.**"));
            Contacts.Add(new Contact("Nina", "Tyles", "78453256", "*****@*****.**"));
            Contacts.Add(new Contact("Taxi", "", "33273377", ""));
            Contacts.Add(new Contact("Sister", "", "13659137", "*****@*****.**"));
            Contacts.Add(new Contact("Microsoft", "", "28371627", "*****@*****.**"));
            Contacts.Add(new Contact("DripStat", "", "", "*****@*****.**"));
            Contacts.Add(new Contact("MMM RSA Team", "", "", "*****@*****.**"));
            Contacts.Add(new Contact("VMware Danmark", "", "70106888", "*****@*****.**"));
            Contacts.Add(new Contact("TravelBird", "", "89882630", "*****@*****.**"));
            Contacts.Add(new Contact("Todoist Team", "", "", "*****@*****.**"));
            Contacts.Add(new Contact("Coursera", "", "", "*****@*****.**"));
            Contacts.Add(new Contact("Thomas", "", "", "*****@*****.**"));
        }