diff --git a/Core/InteropServices/CorrespondingTypeAttribute.cs b/Core/InteropServices/CorrespondingTypeAttribute.cs index efc7a58e..8b3d9c24 100644 --- a/Core/InteropServices/CorrespondingTypeAttribute.cs +++ b/Core/InteropServices/CorrespondingTypeAttribute.cs @@ -82,10 +82,10 @@ namespace Vanara.InteropServices /// if this instance can get the specified value; otherwise, . public static bool CanGet(out TEnum value) where TEnum : struct, System.Enum => CanGet(typeof(T), out value); - /// Determines whether an enum value exists that supports a corresponding type of . + /// Determines whether an enum value exists that supports a corresponding type of . /// The type of the enum. /// The corresponding type to look for. - /// The value of type that has the corresponding type . + /// The value of type that has the corresponding type . /// if this instance can get the specified value; otherwise, . public static bool CanGet(Type typeRef, out TEnum value) where TEnum : struct, System.Enum { @@ -126,10 +126,10 @@ namespace Vanara.InteropServices /// if this instance can get the specified value; otherwise, . public static bool CanSet(out TEnum value) where TEnum : struct, System.Enum => CanSet(typeof(T), out value); - /// Determines whether an enum value exists that supports a corresponding type of . + /// Determines whether an enum value exists that supports a corresponding type of . /// The type of the enum. /// The type supplied by the user to validate. - /// The value of type that has the corresponding type . + /// The value of type that has the corresponding type . /// if this instance can get the specified value; otherwise, . public static bool CanSet(Type typeRef, out TEnum value) where TEnum : struct, System.Enum { diff --git a/System/PowerManager.cs b/System/PowerManager.cs index 2f47f1c1..2cbf7eae 100644 --- a/System/PowerManager.cs +++ b/System/PowerManager.cs @@ -247,7 +247,7 @@ namespace Vanara.Diagnostics } /// Gets the total percentage of charge remaining from all batteries connected to the device. - /// Returns a value from 0 to 100, or if the status is unknown. + /// Returns a int? value from 0 to 100, or if the status is unknown. public static int? RemainingChargePercent { get { var p = GetStatus().BatteryLifePercent; return p == 255 ? (int?)null : p; } } /// Gets the total runtime remaining from all batteries connected to the device. @@ -296,7 +296,7 @@ namespace Vanara.Diagnostics } /// Retrieves the list, optionally filtered, of the powered devices on the system. - /// + /// public class PoweredDeviceCollection : VirtualDictionary { private static Finalizer finalizer; @@ -663,7 +663,7 @@ namespace Vanara.Diagnostics } /// Gets the possible values for this setting. - /// Returns a value. + /// Returns a value. public IEnumerable<(object value, string name, string description)> PossibleValues { get