/// <summary>
 /// Constructor to initilaize the Regsitry path to query
 /// </summary>
 /// <param name="path"></param>
 public ConfiguratorRegistryQuery(ModelRegistryPath path)
 {
     this.RegsitryPath     = path;
     this.ProcQueryEnum    = EnumRegistryQueryProcess.ADD_ALL_VALUES | EnumRegistryQueryProcess.ADD_ALL_SUBKEYS;
     this.LevelSubkeyQuery = -1;
 }
Пример #2
0
 /// <summary>
 /// Constructor to initialize the model from the registry path
 /// </summary>
 /// <param name="regPath"></param>
 public ModelRegistryKey(ModelRegistryPath regPath)
 {
     this.RegsitryPath = regPath;
     this.TreeLevel    = 0;
 }
 /// <summary>
 /// Constructor to construct using parent Registry path
 /// </summary>
 /// <param name="parent">The parent Key</param>
 /// <param name="uniqueName">The name of subkey</param>
 public ModelRegistryPath(ModelRegistryPath parent, string uniqueName)
 {
     this.RootPath   = parent.RootPath;
     this.SubKeyPath = Path.Combine(parent.SubKeyPath, uniqueName);
 }