







![]() |
Moq |
IProtectedMock..::.ExpectGet<(Of <(TProperty>)>) Method |
IProtectedMock Interface See Also Send Feedback |
Sets an expectation on a property getter with the given
propertyName.
Namespace:
Moq.Protected
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
C# |
---|
IExpectGetter<TProperty> ExpectGet<TProperty>( string propertyName ) |
Parameters
- propertyName
- Type: String
Name of the property.
Type Parameters
- TProperty
- Type of the property.