예제 #1
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;
        }
예제 #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);
        }