Moq |
Mocks..::..OneOf<(Of <(<'T>)>)> Method (Expression<(Of <(<'Func>)>)>) |
Mocks Class See Also Send Feedback |
[Missing <summary> documentation for "M:Moq.Mocks.OneOf``1(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("Moved to Mock.Of<T>, as it's a single one, so no reason to be on Mocks.", true)] public static T OneOf<T>( Expression<Func> specification ) where T : class |
Parameters
- specification
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>
Type Parameters
- T