Is.AssignableTo 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
AssignableTo(Type) |
Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument. |
AssignableTo<T>() |
Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument. |
AssignableTo(Type)
Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.
public static NUnit.Framework.Constraints.AssignableToConstraint AssignableTo (Type expectedType);
static member AssignableTo : Type -> NUnit.Framework.Constraints.AssignableToConstraint
Parameters
- expectedType
- Type
Returns
Applies to
AssignableTo<T>()
Returns a constraint that tests whether the actual value is assignable from the type supplied as an argument.
public static NUnit.Framework.Constraints.AssignableToConstraint AssignableTo<T> ();
static member AssignableTo : unit -> NUnit.Framework.Constraints.AssignableToConstraint
Type Parameters
- T