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

                entity.ShouldNotBeNull();
                entity.PartnerContactInfo.ShouldEqual(value);
            }
Ejemplo 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
        }
Ejemplo 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
        }