Show / Hide Table of Contents

Class ValidationExtensions

Inheritance
object
ValidationExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ivrToolkit.Core.Extensions
Assembly: ivrToolkit.Core.dll
Syntax
public static class ValidationExtensions

Methods

| Edit this page View Source

ThrowIfLessThanOrEqualTo<T>(T, T, string)

Declaration
public static T ThrowIfLessThanOrEqualTo<T>(this T value, T index, string parameterName) where T : IComparable<T>
Parameters
Type Name Description
T value
T index
string parameterName
Returns
Type Description
T
Type Parameters
Name Description
T
| Edit this page View Source

ThrowIfNullOrEmpty(string, string)

Declaration
public static string ThrowIfNullOrEmpty(this string parameter, string parameterName)
Parameters
Type Name Description
string parameter
string parameterName
Returns
Type Description
string
| Edit this page View Source

ThrowIfNullOrWhiteSpace(string, string)

Declaration
public static string ThrowIfNullOrWhiteSpace(this string parameter, string parameterName)
Parameters
Type Name Description
string parameter
string parameterName
Returns
Type Description
string
| Edit this page View Source

ThrowIfNull<T>(T, string)

Declaration
public static T ThrowIfNull<T>(this T parameter, string parameterName) where T : class
Parameters
Type Name Description
T parameter
string parameterName
Returns
Type Description
T
Type Parameters
Name Description
T
  • View Source
In this article
Back to top Generated by DocFX