Пример #1
0
        public void AddGroup(InitializationMode initializationMode, string refValue, params ModuleInfo[] moduleInfos)
        {
            if (moduleInfos == null)
            {
                throw new ArgumentNullException(nameof(moduleInfos));
            }

            var newGroup = new ModuleInfoGroup
            {
                InitializationMode = initializationMode,
                Ref = refValue
            };

            foreach (var info in moduleInfos)
            {
                newGroup.Add(info);
            }

            this.m_items.Add(newGroup);
        }
Пример #2
0
 public void AddGroup(ModuleInfoGroup group)
 {
     m_items.Add(group);
 }