예제 #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;
 }