Namespace:
Moq
Assembly: Moq (in Moq.dll) Version: 2.6.1006.3 (2.6.0.0)
Assembly: Moq (in Moq.dll) Version: 2.6.1006.3 (2.6.0.0)
Syntax
| C# |
|---|
public virtual void VerifyGet<TProperty>( Expression<Func<T, TProperty>> expression ) |
Parameters
- expression
- Type: Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)
Expression to verify.
Type Parameters
- TProperty
- Type of the property to verify. Typically omitted as it can be inferred from the expression's return type.