SetupProperty(TProperty) Method (Expression(Func), Boolean)

Moq

Collapse imageExpand ImageCopy imageCopyHover image

[Missing <summary> documentation for "M:Moq.Mock`1.SetupProperty``1(System.Linq.Expressions.Expression{System.Func`2},System.Boolean)"]

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

Syntax

C#
public Mock<T> SetupProperty<TProperty>(
	Expression<Func> property,
	bool initialValue
)

Type Parameters

TProperty

See Also