Interface
IArgExpr

Allows specification of a matching condition for an argument for a non-public method, rather a specific value.

Definition

Namespace:Telerik.JustMock

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public interface IArgExpr

Properties

AnyBool

Matches argument can contain any bool value.

Declaration

cs-api-definition
Expression AnyBool { get; }

Property Value

Expression

AnyByte

Matches argument can contain any byte value.

Declaration

cs-api-definition
Expression AnyByte { get; }

Property Value

Expression

AnyChar

Matches argument can contain any char value.

Declaration

cs-api-definition
Expression AnyChar { get; }

Property Value

Expression

AnyDateTime

Matches argument can contain any DateTime value.

Declaration

cs-api-definition
Expression AnyDateTime { get; }

Property Value

Expression

AnyDecimal

Matches argument can contain any decimal value.

Declaration

cs-api-definition
Expression AnyDecimal { get; }

Property Value

Expression

AnyDouble

Matches argument can contain any double value.

Declaration

cs-api-definition
Expression AnyDouble { get; }

Property Value

Expression

AnyFloat

Matches argument can contain any float value.

Declaration

cs-api-definition
Expression AnyFloat { get; }

Property Value

Expression

AnyGuid

Matches argument can contain any Guid value.

Declaration

cs-api-definition
Expression AnyGuid { get; }

Property Value

Expression

AnyInt

Matches argument can contain any int value.

Declaration

cs-api-definition
Expression AnyInt { get; }

Property Value

Expression

AnyLong

Matches argument can contain any long value.

Declaration

cs-api-definition
Expression AnyLong { get; }

Property Value

Expression

AnyObject

Matches argument can contain any object value.

Declaration

cs-api-definition
Expression AnyObject { get; }

Property Value

Expression

AnySByte

Matches argument can contain any SByte value.

Declaration

cs-api-definition
Expression AnySByte { get; }

Property Value

Expression

AnyShort

Matches argument can contain any short value.

Declaration

cs-api-definition
Expression AnyShort { get; }

Property Value

Expression

AnyString

Matches argument can contain any string value.

Declaration

cs-api-definition
Expression AnyString { get; }

Property Value

Expression

AnyTimeSpan

Matches argument can contain any TimeSpan value.

Declaration

cs-api-definition
Expression AnyTimeSpan { get; }

Property Value

Expression

AnyUri

Matches argument can contain any Uri value.

Declaration

cs-api-definition
Expression AnyUri { get; }

Property Value

Expression

Methods

IsAny(Type, params object[])

Matches argument for any value of a given type.

Declaration

cs-api-definition
Expression IsAny(Type type, params object[] args)

Parameters

type

Type

Type for the argument

args

object[]

Constructor arguments

Returns

Expression

Argument type

IsAny<T>()

Matches argument for any value.

Declaration

cs-api-definition
Expression IsAny<T>()

Returns

Expression

Argument type

IsNull<T>()

Matches argument for null value.

Declaration

cs-api-definition
Expression IsNull<T>()

Returns

Expression

Argument type

Matches<T>(Expression<Predicate<T>>)

Matches argument for the expected condition.

Declaration

cs-api-definition
Expression Matches<T>(Expression<Predicate<T>> match)

Parameters

match

Expression<Predicate<T>>

Matcher expression

Returns

Expression

Argument type

Out<T>(T)

Returns a value from a ref or out argument.

Declaration

cs-api-definition
Expression Out<T>(T value)

Parameters

value

T

Value to match.

Returns

Expression

Argument type

Ref<T>(T)

Matches a value for ref argument.

Declaration

cs-api-definition
Expression Ref<T>(T value)

Parameters

value

T

Value to match.

Returns

Expression

Argument type