Is.AssignableFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 static NUnit.Framework.Constraints.AssignableFromConstraint AssignableFrom (Type expectedType);
static member 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 static NUnit.Framework.Constraints.AssignableFromConstraint AssignableFrom<T> ();
static member AssignableFrom : unit -> NUnit.Framework.Constraints.AssignableFromConstraint
Type Parameters
- T