MockerBooleanExtensions..::..Contains Method (Mocker, Type)

Determines whether this instance contains the object.

Namespace:  FastMoq.Extensions
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public static bool Contains(
	this Mocker mocker,
	Type type
)
<ExtensionAttribute> _
Public Shared Function Contains ( _
	mocker As Mocker, _
	type As Type _
) As Boolean
[ExtensionAttribute]
public:
static bool^ Contains(
	Mocker^ mocker, 
	Type^ type
)

Parameters

mocker
Type: FastMoq..::..Mocker
The mocker.
type
Type: Type
The type.

Return Value

true if [contains] [the specified type]; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullException
ArgumentExceptiontype must be a class. - type