Small bits of refactoring.

This commit is contained in:
Paul Werelds
2010-10-17 08:21:33 +00:00
parent f7733a5112
commit cac6928f07
6 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
using System.Management.Instrumentation;
using OpenHardwareMonitor.Hardware;
namespace OpenHardwareMonitor.Wmi {
namespace OpenHardwareMonitor.WMI {
[InstrumentationClass(InstrumentationType.Instance)]
public class Hardware : IWmiObject {
#region WMI Exposed
+1 -1
View File
@@ -35,7 +35,7 @@
*/
namespace OpenHardwareMonitor.Wmi {
namespace OpenHardwareMonitor.WMI {
interface IWmiObject {
// Both of these get exposed to WMI
string Name { get; }
+1 -2
View File
@@ -37,9 +37,8 @@
using System.Management.Instrumentation;
using OpenHardwareMonitor.Hardware;
using OpenHardwareMonitor.Wmi;
namespace OpenHardwareMonitor.Wmi {
namespace OpenHardwareMonitor.WMI {
[InstrumentationClass(InstrumentationType.Instance)]
public class Sensor : IWmiObject {
private ISensor sensor;
+1 -2
View File
@@ -39,14 +39,13 @@ using System;
using System.Collections.Generic;
using System.Management.Instrumentation;
using OpenHardwareMonitor.Hardware;
using OpenHardwareMonitor.Wmi;
[assembly: Instrumented("root/OpenHardwareMonitor")]
[System.ComponentModel.RunInstaller(true)]
public class InstanceInstaller : DefaultManagementProjectInstaller { }
namespace OpenHardwareMonitor.Wmi {
namespace OpenHardwareMonitor.WMI {
/// <summary>
/// The WMI Provider.
/// This class is not exposed to WMI itself.