src/Mimp.SeeSharper.Reflection/TypeExtensions.cs
/// <summary>
/// Return the value types of <see cref="IDictionary"/>.
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
/// <exception cref="ArgumentNullException"></exception>
/// <exception cref="InvalidOperationException">If type isn't <see cref="IDictionary"/>.</exception>
Return the value types of .
Return the value types of .
public static KeyValuePair<Type, Type>? GetIDictionaryPairType(this Type type)
        {
            var types = type.GetIDictionaryKeyValueType()?.ToArray();
            return types is null ? null : new KeyValuePair<Type, Type>(types[0], types[1]);
        }
public static KeyValuePair < Type , Type > ? GetIDictionaryPairType ( this Type type ) { var types = type . GetIDictionaryKeyValueType ( ) ? . ToArray ( ) ; return types is null ? null : new KeyValuePair < Type , Type > ( types [ 0 ] , types [ 1 ] ) ; }
Return the value types of .
Return the value types of .
None
None
If type isn't .
If type isn ' t .
Type
this
type
None