Esempio n. 1
0
 public void Add(VegShrubSampleDTO subItem)
 {
     if (subItem != null)
     {
         this.shrubs.Add(subItem);
     }
 }
Esempio n. 2
0
        public ShrubSampleDTO(Guid vegSampleId, VegShrubSampleDTO innerItem)
        {
            MethodContract.NotNull(innerItem, nameof(innerItem));
            MethodContract.Assert(!Guid.Empty.Equals(vegSampleId), nameof(vegSampleId));

            this.VegSampleId = vegSampleId;
            this.TaxaUnitId  = innerItem.TaxaUnitId;
            this.SizeClass   = innerItem.SizeClass;
            this.Count       = innerItem.Count;
            this.Description = innerItem.Description;
        }