public virtual object Clone()
        {
            ContainerSettings item = new ContainerSettings();

            item.Default          = (DefaultSettings)Default.Clone();
            item.AvailableOrderBy = AvailableOrderBy;
            item.AvailableGroupBy = AvailableGroupBy;
            item.AvailableViews   = AvailableViews;
            return(item);
        }
        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);
        }
Exemple #3
0
 public liteDashboardSettings()
 {
     Container   = new ContainerSettings();
     Pages       = new List <litePageSettings>();
     Assignments = new List <liteDashboardAssignment>();
 }
 public DashboardSettings(DashboardType type, DashboardSettings dSettings = null)
 {
     Container = new ContainerSettings(type, dSettings);
     Pages     = new List <PageSettings>();
 }