示例#1
0
        internal SLFilters Clone()
        {
            SLFilters fs = new SLFilters();

            int i;
            fs.Filters = new List<SLFilter>();
            for (i = 0; i < this.Filters.Count; ++i)
            {
                fs.Filters.Add(this.Filters[i].Clone());
            }

            fs.DateGroupItems = new List<SLDateGroupItem>();
            for (i = 0; i < this.DateGroupItems.Count; ++i)
            {
                fs.DateGroupItems.Add(this.DateGroupItems[i].Clone());
            }

            fs.Blank = this.Blank;
            fs.HasCalendarType = this.HasCalendarType;
            fs.vCalendarType = this.vCalendarType;

            return fs;
        }
示例#2
0
        internal SLFilters Clone()
        {
            SLFilters fs = new SLFilters();

            int i;

            fs.Filters = new List <SLFilter>();
            for (i = 0; i < this.Filters.Count; ++i)
            {
                fs.Filters.Add(this.Filters[i].Clone());
            }

            fs.DateGroupItems = new List <SLDateGroupItem>();
            for (i = 0; i < this.DateGroupItems.Count; ++i)
            {
                fs.DateGroupItems.Add(this.DateGroupItems[i].Clone());
            }

            fs.Blank           = this.Blank;
            fs.HasCalendarType = this.HasCalendarType;
            fs.vCalendarType   = this.vCalendarType;

            return(fs);
        }