Show / Hide Table of Contents

Class Requires

Inheritance
object
Requires
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common
Assembly: DotNetNuke.dll
Syntax
public static class Requires

Methods

IsTypeOf<T>(string, object)

Declaration
public static void IsTypeOf<T>(string argName, object argValue)
Parameters
Type Name Description
string argName
object argValue
Type Parameters
Name Description
T

NotNegative(string, int)

Declaration
public static void NotNegative(string argName, int argValue)
Parameters
Type Name Description
string argName
int argValue

NotNull(string, object)

Declaration
public static void NotNull(string argName, object argValue)
Parameters
Type Name Description
string argName
object argValue

NotNullOrEmpty(string, string)

Declaration
public static void NotNullOrEmpty(string argName, string argValue)
Parameters
Type Name Description
string argName
string argValue

NotNullOrHasNoWhiteSpace(string, string)

Declaration
public static void NotNullOrHasNoWhiteSpace(string argName, string argValue)
Parameters
Type Name Description
string argName
string argValue

NotNull<T>(T)

Declaration
public static void NotNull<T>(T item)
Parameters
Type Name Description
T item
Type Parameters
Name Description
T

PropertyNotEqualTo<TValue>(string, string, TValue, TValue)

Declaration
public static void PropertyNotEqualTo<TValue>(string argName, string argProperty, TValue propertyValue, TValue testValue) where TValue : IEquatable<TValue>
Parameters
Type Name Description
string argName
string argProperty
TValue propertyValue
TValue testValue
Type Parameters
Name Description
TValue

PropertyNotNegative(string, string, int)

Declaration
public static void PropertyNotNegative(string argName, string argProperty, int propertyValue)
Parameters
Type Name Description
string argName
string argProperty
int propertyValue

PropertyNotNegative<T>(T, string)

Declaration
public static void PropertyNotNegative<T>(T item, string propertyName)
Parameters
Type Name Description
T item
string propertyName
Type Parameters
Name Description
T

PropertyNotNull(string, string)

Declaration
public static void PropertyNotNull(string argName, string argValue)
Parameters
Type Name Description
string argName
string argValue

PropertyNotNullOrEmpty(string, string, string)

Declaration
public static void PropertyNotNullOrEmpty(string argName, string argProperty, string propertyValue)
Parameters
Type Name Description
string argName
string argProperty
string propertyValue

PropertyNotNullOrEmpty<T>(T, string)

Declaration
public static void PropertyNotNullOrEmpty<T>(T item, string propertyName)
Parameters
Type Name Description
T item
string propertyName
Type Parameters
Name Description
T

PropertyNotNull<T>(T, string)

Declaration
public static void PropertyNotNull<T>(T item, string propertyName) where T : class
Parameters
Type Name Description
T item
string propertyName
Type Parameters
Name Description
T
Back to top by the community, for the community... #DNNCMS