SetupSet(TProperty) Method (Action(T))

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Setups the set.

Namespace: Moq.Language
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)

Syntax

C#
ISetupSetter<T, TProperty> SetupSet<TProperty>(
	Action<T> setterExpression
)

Parameters

setterExpression
Type: System..::..Action<(Of <(<'T>)>)>
The setter expression.

Type Parameters

TProperty
The type of the property.

Return Value

See Also