







![]() |
Moq |
Mock<(Of <(T>)>)..::.ExpectSet<(Of <(TProperty>)>) Method (<(Of <(<(Of <(T, TProperty>)>)>)>)) |
Mock<(Of <(T>)>) Class See Also Send Feedback |
Namespace:
Moq
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
C# |
---|
public IExpectSetter<TProperty> ExpectSet<TProperty>( Expression<Func<T, TProperty>> expression ) |
Parameters
- expression
- Type: Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)
Lambda expression that specifies the expected property setter.
Type Parameters
- TProperty
- Type of the property. Typically omitted as it can be inferred from the expression.