ConstraintFactory.AssignableFrom Method

Definition

Overloads

AssignableFrom(Type)

Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.

AssignableFrom<T>()

Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.

AssignableFrom(Type)

Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.

public NUnit.Framework.Constraints.AssignableFromConstraint AssignableFrom (Type expectedType);
member this.AssignableFrom : Type -> NUnit.Framework.Constraints.AssignableFromConstraint

Parameters

expectedType
Type

Returns

Applies to

AssignableFrom<T>()

Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.

public NUnit.Framework.Constraints.AssignableFromConstraint AssignableFrom<T> ();
member this.AssignableFrom : unit -> NUnit.Framework.Constraints.AssignableFromConstraint

Type Parameters

T

Returns

Applies to