DbContextMock<(Of <(<'TEntity>)>)>..::..SetupSetMethod Method

Setups the set method.

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

Syntax


public void SetupSetMethod(
	Type setType,
	Delegate propValueDelegate,
	Type[] types,
	Object[] parameters
)
Public Sub SetupSetMethod ( _
	setType As Type, _
	propValueDelegate As Delegate, _
	types As Type(), _
	parameters As Object() _
)
public:
void SetupSetMethod(
	Type^ setType, 
	Delegate^ propValueDelegate, 
	array<Type^>^ types, 
	array<Object^>^ parameters
)

Parameters

setType
Type: Type
Type of the set.
propValueDelegate
Type: Delegate
The property value delegate.
types
Type: array<Type>[]()[][]
The types.
parameters
Type: array<Object>[]()[][]
The parameters.

Exceptions


ExceptionCondition
MissingMethodExceptionUnable to get Set method.
InvalidOperationExceptionUnable to Get Setup.