// <summary> // Creates a detector using the given proxies for the HKEY_LOCAL_MACHINE registry key // and ServiceController. // </summary> public SqlServerDetector(RegistryKeyProxy localMachine, ServiceControllerProxy controller) { DebugCheck.NotNull(localMachine); DebugCheck.NotNull(controller); _localMachine = localMachine; _controller = controller; }
/// <summary> /// Creates a detector using the given proxies for the HKEY_LOCAL_MACHINE registry key /// and ServiceController. /// </summary> public SqlServerDetector(RegistryKeyProxy localMachine, ServiceControllerProxy controller) { Contract.Requires(localMachine != null); Contract.Requires(controller != null); _localMachine = localMachine; _controller = controller; }
/// <summary> /// Creates a detector using the given proxies for the HKEY_LOCAL_MACHINE registry key /// and ServiceController. /// </summary> public SqlServerDetector(RegistryKeyProxy localMachine, ServiceControllerProxy controller) { DebugCheck.NotNull(localMachine); DebugCheck.NotNull(controller); _localMachine = localMachine; _controller = controller; }