ArgumentEqualGuard Class

Summary

Argument equal validator.
Namespace
oehen.arguard
Base Types
  • object
graph BT Type-->Base0["object"] Type["ArgumentEqualGuard"] class Type type-node

Syntax

public static class ArgumentEqualGuard

Methods

Name Value Summary
ThrowIfNotEqual<T>(T, T, string) T
Throws an System.InvalidOperationException if argument is not equal compareArgument .
static

Extension Methods

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