Class ValidationExtensions
Inheritance
System.Object
ValidationExtensions
Namespace: System
Assembly: PnP.Framework.dll
Syntax
public static class ValidationExtensions : object
Methods
ValidateNotNullOrEmpty<T>(T, String)
Validates an object for not being null or not being the default value
Declaration
public static void ValidateNotNullOrEmpty<T>(this T input, string variableName)
Parameters
T
input
The objec tto check |
System.String
variableName
The name of the variable name to report in the error |
Type Parameters
T
Generic Type |