src/Mimp.SeeSharper.Reflection/TypeExtensions.Delegate.cs
/// <summary>
/// Return the parameter types of the delegate.
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
/// <exception cref="ArgumentNullException"></exception>
/// <exception cref="ArgumentException">If type isn't a delegate.</exception>
Return the parameter types of the delegate.
Return the parameter types of the delegate .
public static IEnumerable<Type> GetDelegateParameterTypes(this Type type)
        {
            if (type is null)
                throw new ArgumentNullException(nameof(type));
            return type.GetDelegateInvoke().GetParameterTypes();
        }
public static IEnumerable < Type > GetDelegateParameterTypes ( this Type type ) { if ( type is null ) throw new ArgumentNullException ( nameof ( type ) ) ; return type . GetDelegateInvoke ( ) . GetParameterTypes ( ) ; }
Return the parameter types of the delegate.
Return the parameter types of the delegate .
None
None
If type isn't a delegate.
If type isn ' t a delegate .
Type
this
type
None