Ejemplo n.º 1
0
        internal SLSortState Clone()
        {
            SLSortState ss = new SLSortState();
            ss.SortConditions = new List<SLSortCondition>();
            for (int i = 0; i < this.SortConditions.Count; ++i)
            {
                ss.SortConditions.Add(this.SortConditions[i].Clone());
            }

            ss.ColumnSort = this.ColumnSort;
            ss.CaseSensitive = this.CaseSensitive;

            ss.HasSortMethod = this.HasSortMethod;
            ss.vSortMethod = this.vSortMethod;

            ss.StartRowIndex = this.StartRowIndex;
            ss.StartColumnIndex = this.StartColumnIndex;
            ss.EndRowIndex = this.EndRowIndex;
            ss.EndColumnIndex = this.EndColumnIndex;

            return ss;
        }
Ejemplo n.º 2
0
        internal SLSortState Clone()
        {
            SLSortState ss = new SLSortState();

            ss.SortConditions = new List <SLSortCondition>();
            for (int i = 0; i < this.SortConditions.Count; ++i)
            {
                ss.SortConditions.Add(this.SortConditions[i].Clone());
            }

            ss.ColumnSort    = this.ColumnSort;
            ss.CaseSensitive = this.CaseSensitive;

            ss.HasSortMethod = this.HasSortMethod;
            ss.vSortMethod   = this.vSortMethod;

            ss.StartRowIndex    = this.StartRowIndex;
            ss.StartColumnIndex = this.StartColumnIndex;
            ss.EndRowIndex      = this.EndRowIndex;
            ss.EndColumnIndex   = this.EndColumnIndex;

            return(ss);
        }