Represents a module in the settings database.
コード例 #1
0
 /// <summary>Loads the module with the specified name.</summary>
 /// <param name="moduleSetting">The identifying settings of the module to load.</param>
 public void AddModule(ModuleSetting moduleSetting)
 {
     var module = new ViewTestClassesAssemblyModule(moduleSetting);
     Modules.Add(module);
 }
コード例 #2
0
 /// <summary>Loads the module with the specified name.</summary>
 /// <param name="moduleSetting">The identifying settings of the module to load.</param>
 public void AddModule(ModuleSetting moduleSetting)
 {
     moduleLoader.AddModule(moduleSetting);
     Settings.SyncLoadedModulesWithTestHarness();
     Settings.Save();
 }