예제 #1
0
        //=================================================================================================================
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        //=================================================================================================================
        private static ObservableCollection<Address> GetTestAddress()
        {
            var address1 = new Address
            {
                City = "Baton Rouge",
                State = "LA",
                Line = "12747 LockHaven",
                PostalCode = "77543"
            };

            var address2 = new Address
            {
                City = "Baton Rouge",
                State = "LA",
                Line = "16739 Tiger Rd.",
                PostalCode = "77544"
            };

            var address3 = new Address
            {
                City = "Jenkins",
                State = "LA",
                Line = "16739 Crawdad Rd.",
                PostalCode = "77544"
            };

            var results = new ObservableCollection<Address>();

            results.Add(address1);
            results.Add(address2);
            results.Add(address3);

            return results;
        }
예제 #2
0
파일: Person.cs 프로젝트: PaybackMan/Cinder
 ///===============================================================================================================================
 /// <summary>
 /// Fat daddy ctor
 /// </summary>
 /// <param name="id"></param>
 /// <param name="humanName"></param>
 /// <param name="contactMethods"></param>
 /// <param name="birthDate"></param>
 /// <param name="photo"></param>
 /// <param name="address"></param>
 // ===============================================================================================================================
 public Person(HumanName humanName, ObservableCollection<ContactMethod> contactMethods, DateTime birthDate, Address address)
 {
     this.Name           = humanName;
     this.ContactMethods = contactMethods;
     this.BirthDate      = birthDate;
     this._address       = address;
 }
예제 #3
0
 public Contact(HumanName humanName, ObservableCollection<ContactMethod> contactMethods, DateTime birthDate, Address address)
     : base(humanName, contactMethods, birthDate, address)
 {
 }