示例#1
0
        public virtual object Clone()
        {
            ContainerSettings item = new ContainerSettings();

            item.Default          = (DefaultSettings)Default.Clone();
            item.AvailableOrderBy = AvailableOrderBy;
            item.AvailableGroupBy = AvailableGroupBy;
            item.AvailableViews   = AvailableViews;
            return(item);
        }
示例#2
0
        public virtual ContainerSettings Copy()
        {
            ContainerSettings item = new ContainerSettings();

            item.Default          = (DefaultSettings)Default.Clone();
            item.AvailableOrderBy = AvailableOrderBy.ToList();
            item.AvailableGroupBy = AvailableGroupBy.ToList();
            item.AvailableViews   = AvailableViews.ToList();
            return(item);
        }
示例#3
0
 public liteDashboardSettings()
 {
     Container   = new ContainerSettings();
     Pages       = new List <litePageSettings>();
     Assignments = new List <liteDashboardAssignment>();
 }
示例#4
0
 public DashboardSettings(DashboardType type, DashboardSettings dSettings = null)
 {
     Container = new ContainerSettings(type, dSettings);
     Pages     = new List <PageSettings>();
 }