Fixed XML doc errors

pull/83/head
David Hall 2019-10-11 10:34:50 -06:00
parent 4f087df55c
commit 77d4e5c49a
2 changed files with 7 additions and 7 deletions

View File

@ -82,10 +82,10 @@ namespace Vanara.InteropServices
/// <returns><see langword="true"/> if this instance can get the specified value; otherwise, <see langword="false"/>.</returns>
public static bool CanGet<T, TEnum>(out TEnum value) where TEnum : struct, System.Enum => CanGet(typeof(T), out value);
/// <summary>Determines whether an enum value exists that supports a corresponding type of <typeparamref name="T"/>.</summary>
/// <summary>Determines whether an enum value exists that supports a corresponding type of <paramref name="typeRef"/>.</summary>
/// <typeparam name="TEnum">The type of the enum.</typeparam>
/// <param name="typeRef">The corresponding type to look for.</param>
/// <param name="value">The value of type <typeparamref name="TEnum"/> that has the corresponding type <typeparamref name="T"/>.</param>
/// <param name="value">The value of type <typeparamref name="TEnum"/> that has the corresponding type <paramref name="typeRef"/>.</param>
/// <returns><see langword="true"/> if this instance can get the specified value; otherwise, <see langword="false"/>.</returns>
public static bool CanGet<TEnum>(Type typeRef, out TEnum value) where TEnum : struct, System.Enum
{
@ -126,10 +126,10 @@ namespace Vanara.InteropServices
/// <returns><see langword="true"/> if this instance can get the specified value; otherwise, <see langword="false"/>.</returns>
public static bool CanSet<T, TEnum>(out TEnum value) where TEnum : struct, System.Enum => CanSet(typeof(T), out value);
/// <summary>Determines whether an enum value exists that supports a corresponding type of <typeparamref name="T"/>.</summary>
/// <summary>Determines whether an enum value exists that supports a corresponding type of <paramref name="typeRef"/>.</summary>
/// <typeparam name="TEnum">The type of the enum.</typeparam>
/// <param name="typeRef">The type supplied by the user to validate.</param>
/// <param name="value">The value of type <typeparamref name="TEnum"/> that has the corresponding type <typeparamref name="T"/>.</param>
/// <param name="value">The value of type <typeparamref name="TEnum"/> that has the corresponding type <paramref name="typeRef"/>.</param>
/// <returns><see langword="true"/> if this instance can get the specified value; otherwise, <see langword="false"/>.</returns>
public static bool CanSet<TEnum>(Type typeRef, out TEnum value) where TEnum : struct, System.Enum
{

View File

@ -247,7 +247,7 @@ namespace Vanara.Diagnostics
}
/// <summary>Gets the total percentage of charge remaining from all batteries connected to the device.</summary>
/// <value>Returns a <see cref="Nullable{T}.int"/> value from 0 to 100, or <see langword="null"/> if the status is unknown.</value>
/// <value>Returns a <c>int?</c> value from 0 to 100, or <see langword="null"/> if the status is unknown.</value>
public static int? RemainingChargePercent { get { var p = GetStatus().BatteryLifePercent; return p == 255 ? (int?)null : p; } }
/// <summary>Gets the total runtime remaining from all batteries connected to the device.</summary>
@ -296,7 +296,7 @@ namespace Vanara.Diagnostics
}
/// <summary>Retrieves the list, optionally filtered, of the powered devices on the system.</summary>
/// <seealso cref="VirtualDictionary{string, PoweredDevice}"/>
/// <seealso cref="VirtualDictionary{TKey, TValue}"/>
public class PoweredDeviceCollection : VirtualDictionary<string, PoweredDevice>
{
private static Finalizer finalizer;
@ -663,7 +663,7 @@ namespace Vanara.Diagnostics
}
/// <summary>Gets the possible values for this setting.</summary>
/// <value>Returns a <see cref="IEnumerable{System.ValueTuple{object, string, string}}"/> value.</value>
/// <value>Returns a <see cref="IEnumerable{T}"/> value.</value>
public IEnumerable<(object value, string name, string description)> PossibleValues
{
get