![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](icons/copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() |
Moq |
MockExtensions..::..SetupSet<(Of <(<'T, TProperty>)>)> Method |
MockExtensions Class See Also Send Feedback |
[Missing <summary> documentation for "M:Moq.MockExtensions.SetupSet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func`2})"]
Namespace: Moq
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
C# |
---|
[ObsoleteAttribute("Replaced by SetupSet(Action)")] public static ISetupSetter<T, TProperty> SetupSet<T, TProperty>( this Mock<T> mock, Expression<Func> expression ) where T : class |
Parameters
- mock
- Type: Moq..::..Mock<(Of <(<'T>)>)>
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>
Type Parameters
- T
- TProperty