Method | Description | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
Method | Description | |
---|---|---|
CollectionConstraint ( ) : System |
Construct an empty CollectionConstraint
|
|
CollectionConstraint ( object arg ) : System |
Construct a CollectionConstraint
|
|
IsEmpty ( IEnumerable enumerable ) : bool |
Determines whether the specified enumerable is empty.
|
|
doMatch ( IEnumerable collection ) : bool |
Protected method to be implemented by derived classes
|
protected CollectionConstraint ( object arg ) : System | ||
arg | object | |
return | System |
protected static IsEmpty ( IEnumerable enumerable ) : bool | ||
enumerable | IEnumerable | The enumerable. |
return | bool |
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
return | bool |
protected abstract doMatch ( IEnumerable collection ) : bool | ||
collection | IEnumerable | |
return | bool |