







![]() |
Moq |
Mock<(Of <(T>)>)..::.VerifySet<(Of <(TProperty>)>) Method (<(Of <(<(Of <(T, TProperty>)>)>)>), TProperty) |
Mock<(Of <(T>)>) Class See Also Send Feedback |
Implements VerifySet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>), TProperty).
Namespace:
Moq
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
C# |
---|
public virtual void VerifySet<TProperty>( Expression<Func<T, TProperty>> expression, TProperty value ) |
Parameters
- expression
- Type: Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)
Expression to verify.
- value
- Type: TProperty
The value that should have been set on the property.
Type Parameters
- TProperty
- Type of the property to verify. Typically omitted as it can be inferred from the expression's return type.