Esempio n. 1
0
 public void HasGetSet()
 {
     var value = new EstablishmentContactInfo();
     var entity = new Establishment { PartnerContactInfo = value };
     entity.ShouldNotBeNull();
     entity.PartnerContactInfo.ShouldEqual(value);
 }
Esempio n. 2
0
            public void HasGetSet()
            {
                var value  = new EstablishmentContactInfo();
                var entity = new Establishment {
                    PartnerContactInfo = value
                };

                entity.ShouldNotBeNull();
                entity.PartnerContactInfo.ShouldEqual(value);
            }
Esempio n. 3
0
        protected internal Establishment()
        {
            PublicContactInfo  = new EstablishmentContactInfo();
            PartnerContactInfo = new EstablishmentContactInfo();

            // ReSharper disable DoNotCallOverridableMethodsInConstructor
            EmailDomains = new Collection <EstablishmentEmailDomain>();
            Urls         = new Collection <EstablishmentUrl>();
            Names        = new Collection <EstablishmentName>();
            Affiliates   = new Collection <Affiliation>();
            Ancestors    = new Collection <EstablishmentNode>();
            Children     = new Collection <Establishment>();
            Offspring    = new Collection <EstablishmentNode>();
            // ReSharper restore DoNotCallOverridableMethodsInConstructor
        }
Esempio n. 4
0
        protected internal Establishment()
        {
            PublicContactInfo = new EstablishmentContactInfo();
            PartnerContactInfo = new EstablishmentContactInfo();

            // ReSharper disable DoNotCallOverridableMethodsInConstructor
            EmailDomains = new Collection<EstablishmentEmailDomain>();
            Urls = new Collection<EstablishmentUrl>();
            Names = new Collection<EstablishmentName>();
            Affiliates = new Collection<Affiliation>();
            Ancestors = new Collection<EstablishmentNode>();
            Children = new Collection<Establishment>();
            Offspring = new Collection<EstablishmentNode>();
            // ReSharper restore DoNotCallOverridableMethodsInConstructor
        }