/// <summary> /// Resolves implementation of System.Collections.Generic.IEnumerable on this type. /// </summary> /// <param name="iEnumerableType">Result found implementation of System.Collections.Generic.IEnumerable.</param> /// <param name="itemType">The only generic argument of <paramref name="implementation"/></param> /// <returns>True if found, false otherwise.</returns> public static bool ResolveIEnumerableImplementation(this DebugType type, out DebugType iEnumerableType, out DebugType itemType) { return(type.ResolveGenericInterfaceImplementation( "System.Collections.Generic.IEnumerable", out iEnumerableType, out itemType)); }
/// <summary> /// Resolves implementation of System.Collections.Generic.IList on this type. /// </summary> /// <param name="iListType">Result found implementation of System.Collections.Generic.IList.</param> /// <param name="itemType">The only generic argument of <paramref name="implementation"/></param> /// <returns>True if found, false otherwise.</returns> public static bool ResolveIListImplementation(this DebugType type, out DebugType iListType, out DebugType itemType) { return(type.ResolveGenericInterfaceImplementation( "System.Collections.Generic.IList", out iListType, out itemType)); }