ArgumentLongBetweenGuard Class

Summary

System.Int64 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 ArgumentOutOfRangeException exception if the argument is between compareValueStart and compareValueEnd.
static

Extension Methods

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