ArgumentLongBetweenGuard Class

Summary

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

Syntax

public static class ArgumentLongBetweenGuard

Methods

Name Value Summary
ThrowIfIsBetween(long, long, long, string) long
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