Telerik® JustMock™ by Progress

The Arg type exposes the following members.

Methods

  NameDescription
Public methodStatic memberIs<(Of <<'(T>)>>)
Matches the specified value. Useful for mingling concrete values and more general matchers in the same expression when using delegate-based overloads.
Public methodStatic memberIsAny<(Of <<'(T>)>>)
Matches argument for any value.
Public methodStatic memberIsInRange<(Of <<'(T>)>>)
Matches argument for the specified range.
Public methodStatic memberIsNull<(Of <<'(T>)>>)
Matches argument for null value.
Public methodStatic memberMatches<(Of <<'(T>)>>)
Matches argument for the expected condition.
Public methodStatic memberRef<(Of <<'(T>)>>)
Applies a matcher to a 'ref' parameter. By default, 'ref' parameters work like implicitly arranged return values. In other words, you arrange a method to return a given value through its 'ref' and 'out' parameters. Use this method to specify that the argument should have a matcher applied just like regular arguments.

Properties

  NameDescription
Public propertyStatic memberAnyBool
Gets a value indicating that argument can contain any bool value.
Public propertyStatic memberAnyByte
Gets a value indicating that argument can contain any byte value.
Public propertyStatic memberAnyChar
Gets a value indicating that argument can contain any char value.
Public propertyStatic memberAnyDateTime
Gets a value indicating that argument can contain any DateTime value.
Public propertyStatic memberAnyDecimal
Gets a value indicating that argument can contain any decimal value.
Public propertyStatic memberAnyDouble
Gets a value indicating that argument can contain any double value.
Public propertyStatic memberAnyFloat
Gets a value indicating that argument can contain any float value.
Public propertyStatic memberAnyGuid
Gets a value indicating that argument can contain any Guid value.
Public propertyStatic memberAnyInt
Gets a value indicating that argument can contain any int value.
Public propertyStatic memberAnyLong
Gets a value indicating that argument can contain any long value.
Public propertyStatic memberAnyObject
Gets a value indicating that argument can contain any object value.
Public propertyStatic memberAnySByte
Gets a value indicating that argument can contain any SByte value.
Public propertyStatic memberAnyShort
Gets a value indicating that argument can contain any short value.
Public propertyStatic memberAnyString
Gets a value indicating that argument can contain any string value.
Public propertyStatic memberAnyTimeSpan
Gets a value indicating that argument can contain any TimeSpan value.
Public propertyStatic memberAnyUri
Gets a value indicating that argument can contain any Uri value.
Public propertyStatic memberNullOrEmpty
Matches argument for null or empty value.

See Also