Ejemplo n.º 1
0
 /// <summary>
 /// Using the actual model object created in memory from the config file and the type of process.
 /// </summary>
 /// <param name="regKeyModel">The model object reference</param>
 /// <param name="enumProcQuery">The process query type. Default is NONE.</param>
 public ProcessRegistryQuery(ModelRegistryKey regKeyModel, ConfiguratorRegistryQuery configurator)
 {
     this.RegKey      = regKeyModel;
     this.QueryFilter = configurator;
 }
 /// <summary>
 /// The default constructor to initialize the manager instance of querying the Windows regsitry
 /// </summary>
 /// <param name="regConfigReaderConfigurator"></param>
 /// <param name="queryprocConfigurator"></param>
 public ManagerRegistryQuery(ConfiguratorRegistryConfig regConfigReaderConfigurator, ConfiguratorRegistryQuery queryprocConfigurator)
 {
     this.ConfiguratorOfRegistryConfigReader = regConfigReaderConfigurator;
     this.ConfiguratorofRegistryQuery        = queryprocConfigurator;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor when the regsitry path is provided
 /// </summary>
 /// <param name="regPath"></param>
 public ProcessRegistryQuery(ConfiguratorRegistryQuery configurator) : this(null, configurator)
 {
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 public ManagerRegistryQuery()
 {
     this.ConfiguratorOfRegistryConfigReader = new ConfiguratorRegistryConfig();
     this.ConfiguratorofRegistryQuery        = new ConfiguratorRegistryQuery();
 }