示例#1
0
        public virtual MultiTrunkTree AddMultiTrunkTree()
        {
            var tree = MultiTrunkTree.Create(this);

            Trees.Add(tree);
            return(tree);
        }
示例#2
0
 public static Trunk Create(MultiTrunkTree mttm)
 {
     return(new Trunk()
     {
         Tree = mttm,
         Girth = Distance.Null(),
         GirthMeasurementHeight = Distance.Null(),
         Height = Distance.Null(),
         HeightMeasurements = HeightMeasurements.Null(),
         TrunkComments = string.Empty
     }.RecordCreation() as Trunk);
 }