Düzenle

Aracılığıyla paylaş


AssignableFromConstraint.Matches(Object) Method

Definition

Test whether an object can be assigned from the specified type

public override bool Matches (object actual);
override this.Matches : obj -> bool

Parameters

actual
Object

The object to be tested

Returns

True if the object can be assigned a value of the expected Type, otherwise false.

Applies to