Interface IArgExpr
Allows specification of a matching condition for an argument for a non-public method, rather a specific value.
Namespace: Telerik.JustMock
Assembly: Telerik.JustMock.dll
Syntax
public interface IArgExpr
Properties
AnyBool
Matches argument can contain any bool value.
Declaration
Expression AnyBool { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyByte
Matches argument can contain any byte value.
Declaration
Expression AnyByte { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyChar
Matches argument can contain any char value.
Declaration
Expression AnyChar { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyDateTime
Matches argument can contain any DateTime value.
Declaration
Expression AnyDateTime { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyDecimal
Matches argument can contain any decimal value.
Declaration
Expression AnyDecimal { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyDouble
Matches argument can contain any double value.
Declaration
Expression AnyDouble { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyFloat
Matches argument can contain any float value.
Declaration
Expression AnyFloat { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyGuid
Matches argument can contain any Guid value.
Declaration
Expression AnyGuid { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyInt
Matches argument can contain any int value.
Declaration
Expression AnyInt { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyLong
Matches argument can contain any long value.
Declaration
Expression AnyLong { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyObject
Matches argument can contain any object value.
Declaration
Expression AnyObject { get; }
Property Value
System.Linq.Expressions.Expression
|
AnySByte
Matches argument can contain any SByte value.
Declaration
Expression AnySByte { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyShort
Matches argument can contain any short value.
Declaration
Expression AnyShort { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyString
Matches argument can contain any string value.
Declaration
Expression AnyString { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyTimeSpan
Matches argument can contain any TimeSpan value.
Declaration
Expression AnyTimeSpan { get; }
Property Value
System.Linq.Expressions.Expression
|
AnyUri
Matches argument can contain any Uri value.
Declaration
Expression AnyUri { get; }
Property Value
System.Linq.Expressions.Expression
|
Methods
IsAny(Type, Object[])
Matches argument for any value of a given type.
Declaration
Expression IsAny(Type type, params object[] args)
Parameters
System.Type
type
Type for the argument |
System.Object[]
args
Constructor arguments |
Returns
System.Linq.Expressions.Expression
Argument type |
IsAny<T>()
Matches argument for any value.
Declaration
Expression IsAny<T>()
Returns
System.Linq.Expressions.Expression
Argument type |
Type Parameters
T
Type for the argument |
IsNull<T>()
Matches argument for null value.
Declaration
Expression IsNull<T>()
Returns
System.Linq.Expressions.Expression
Argument type |
Type Parameters
T
Type for the argument |
Matches<T>(Expression<Predicate<T>>)
Matches argument for the expected condition.
Declaration
Expression Matches<T>(Expression<Predicate<T>> match)
Parameters
System.Linq.Expressions.Expression<System.Predicate<T>>
match
Matcher expression |
Returns
System.Linq.Expressions.Expression
Argument type |
Type Parameters
T
Contains the type of the argument. |
Out<T>(T)
Returns a value from a ref or out argument.
Declaration
Expression Out<T>(T value)
Parameters
T
value
Value to match. |
Returns
System.Linq.Expressions.Expression
Argument type |
Type Parameters
T
Type for the argument |
Ref<T>(T)
Matches a value for ref argument.
Declaration
Expression Ref<T>(T value)
Parameters
T
value
Value to match. |
Returns
System.Linq.Expressions.Expression
Argument type |
Type Parameters
T
Type for the argument |