mirror of https://github.com/dahall/Vanara.git
Fixed Vanara.Collection references
parent
589d47c3b6
commit
a75f2dd17d
|
@ -3882,17 +3882,17 @@ namespace Vanara.PInvoke
|
||||||
/// <summary>Enumerates the values in a <see cref="IEnumContextProps"/> instance.</summary>
|
/// <summary>Enumerates the values in a <see cref="IEnumContextProps"/> instance.</summary>
|
||||||
/// <param name="e">The <see cref="IEnumContextProps"/> instance.</param>
|
/// <param name="e">The <see cref="IEnumContextProps"/> instance.</param>
|
||||||
/// <returns>The enumerated values.</returns>
|
/// <returns>The enumerated values.</returns>
|
||||||
public static IEnumerable<ContextProperty> Enumerate(this IEnumContextProps e) => new Collections.IEnumFromCom<ContextProperty>(e.Next, e.Reset);
|
public static IEnumerable<ContextProperty> Enumerate(this IEnumContextProps e) => new Vanara.Collections.IEnumFromCom<ContextProperty>(e.Next, e.Reset);
|
||||||
|
|
||||||
/// <summary>Enumerates the values in a <see cref="IEnumSTATSTG"/> instance.</summary>
|
/// <summary>Enumerates the values in a <see cref="IEnumSTATSTG"/> instance.</summary>
|
||||||
/// <param name="e">The <see cref="IEnumSTATSTG"/> instance.</param>
|
/// <param name="e">The <see cref="IEnumSTATSTG"/> instance.</param>
|
||||||
/// <returns>The enumerated values.</returns>
|
/// <returns>The enumerated values.</returns>
|
||||||
public static IEnumerable<STATSTG> Enumerate(this IEnumSTATSTG e) => new Collections.IEnumFromCom<STATSTG>(e.Next, e.Reset);
|
public static IEnumerable<STATSTG> Enumerate(this IEnumSTATSTG e) => new Vanara.Collections.IEnumFromCom<STATSTG>(e.Next, e.Reset);
|
||||||
|
|
||||||
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
|
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
|
||||||
/// <param name="e">The <see cref="IEnumUnknown"/> instance.</param>
|
/// <param name="e">The <see cref="IEnumUnknown"/> instance.</param>
|
||||||
/// <returns>The enumerated values.</returns>
|
/// <returns>The enumerated values.</returns>
|
||||||
public static IEnumerable<IntPtr> Enumerate(this IEnumUnknown e) => new Collections.IEnumFromCom<IntPtr>(e.Next, e.Reset);
|
public static IEnumerable<IntPtr> Enumerate(this IEnumUnknown e) => new Vanara.Collections.IEnumFromCom<IntPtr>(e.Next, e.Reset);
|
||||||
|
|
||||||
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
|
/// <summary>Enumerates the values in a <see cref="IEnumUnknown"/> instance.</summary>
|
||||||
/// <typeparam name="T">The COM interface type to query for from each item in the collection. Note that if this type cannot be retrieved, an exception will be thrown.</typeparam>
|
/// <typeparam name="T">The COM interface type to query for from each item in the collection. Note that if this type cannot be retrieved, an exception will be thrown.</typeparam>
|
||||||
|
|
|
@ -130,7 +130,7 @@ namespace Vanara.PInvoke
|
||||||
|
|
||||||
/// <summary>Returns a hash code for this instance.</summary>
|
/// <summary>Returns a hash code for this instance.</summary>
|
||||||
/// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
|
/// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
|
||||||
public override int GetHashCode() => new Collections.EnumerableEqualityComparer<byte>().GetHashCode(handle.ToIEnum<byte>((int)Size));
|
public override int GetHashCode() => new Vanara.Collections.EnumerableEqualityComparer<byte>().GetHashCode(handle.ToIEnum<byte>((int)Size));
|
||||||
|
|
||||||
/// <summary>Inserts the specified <see cref="PIDL"/> before the existing list.</summary>
|
/// <summary>Inserts the specified <see cref="PIDL"/> before the existing list.</summary>
|
||||||
/// <param name="insertPidl">The <see cref="PIDL"/> to insert.</param>
|
/// <param name="insertPidl">The <see cref="PIDL"/> to insert.</param>
|
||||||
|
|
Loading…
Reference in New Issue