示例#1
0
        public ModuleInfo AddModuleInfo(WindowModule moduleSource, int sortingOrder, bool backgroundLayer)
        {
            var instance = new ModuleInfo(moduleSource, sortingOrder, backgroundLayer);

            var list = this.elements.ToList();

            list.Add(instance);
            this.elements = list.ToArray();

            return(instance);
        }
示例#2
0
 public ModuleInfo(WindowModule moduleSource, int sortingOrder, bool backgroundLayer)
 {
     this.moduleSource    = moduleSource;
     this.sortingOrder    = sortingOrder;
     this.backgroundLayer = backgroundLayer;
 }