internal SLFieldGroup Clone()
        {
            SLFieldGroup fg = new SLFieldGroup();
            fg.ParentId = this.ParentId;
            fg.Base = this.Base;

            fg.HasRangeProperties = this.HasRangeProperties;
            fg.RangeProperties = this.RangeProperties.Clone();

            fg.DiscreteProperties = new List<uint>();
            foreach (uint i in this.DiscreteProperties)
            {
                fg.DiscreteProperties.Add(i);
            }

            fg.HasGroupItems = this.HasGroupItems;
            fg.GroupItems = this.GroupItems.Clone();

            return fg;
        }
Beispiel #2
0
        internal SLFieldGroup Clone()
        {
            SLFieldGroup fg = new SLFieldGroup();

            fg.ParentId = this.ParentId;
            fg.Base     = this.Base;

            fg.HasRangeProperties = this.HasRangeProperties;
            fg.RangeProperties    = this.RangeProperties.Clone();

            fg.DiscreteProperties = new List <uint>();
            foreach (uint i in this.DiscreteProperties)
            {
                fg.DiscreteProperties.Add(i);
            }

            fg.HasGroupItems = this.HasGroupItems;
            fg.GroupItems    = this.GroupItems.Clone();

            return(fg);
        }