ArgumentDecimalBetweenGuard Class

Summary

decimal argument between validator.
Namespace
oehen.arguard.Between
Base Types
  • object
graph BT Type-->Base0["object"] Type["ArgumentDecimalBetweenGuard"] class Type type-node

Syntax

public static class ArgumentDecimalBetweenGuard

Methods

Name Value Summary
ThrowIfIsBetween(decimal, decimal, decimal, string) decimal
Throws an System.ArgumentOutOfRangeException exception if the argument is between compareValueStart and compareValueEnd.
static

Extension Methods

Name Value Summary
ThrowIfNotTypeOf<T>(string) T
Throws an System.InvalidOperationException if argument is not type of T.
GitHub