IArgExpr
Defines expression-based argument matchers for non-public member arrangements.
Definition
Properties
Matches argument can contain any bool value.
Expression AnyBool { get; }
Matches argument can contain any byte value.
Expression AnyByte { get; }
Matches argument can contain any char value.
Expression AnyChar { get; }
Matches argument can contain any DateTime value.
Expression AnyDateTime { get; }
Matches argument can contain any decimal value.
Expression AnyDecimal { get; }
Matches argument can contain any double value.
Expression AnyDouble { get; }
Matches argument can contain any float value.
Expression AnyFloat { get; }
Matches argument can contain any Guid value.
Expression AnyGuid { get; }
Matches argument can contain any int value.
Expression AnyInt { get; }
Matches argument can contain any long value.
Expression AnyLong { get; }
Matches argument can contain any object value.
Expression AnyObject { get; }
Matches argument can contain any SByte value.
Expression AnySByte { get; }
Matches argument can contain any short value.
Expression AnyShort { get; }
Matches argument can contain any string value.
Expression AnyString { get; }
Matches argument can contain any TimeSpan value.
Expression AnyTimeSpan { get; }
Matches argument can contain any Uri value.
Expression AnyUri { get; }
Methods
Matches any value of the specified type.
Matches a null value.
Matches an argument when it satisfies the specified predicate.
Expression Matches<T>(Expression<Predicate<T>> match)
Predicate that evaluates the argument value.
Returns:An expression that represents the matcher.
Supplies a value for a ref or out argument.
Expression Out<T>(T value)
Value to assign.
Returns:An expression that represents the argument value.
Matches a ref argument by value.
Expression Ref<T>(T value)
Value to match.
Returns:An expression that represents the matcher.