Show / Hide Table of Contents

Class Check

Inheritance
System.Object
Check
Namespace: Volo.Abp
Assembly: Volo.Abp.Core.dll
Syntax
public static class Check : object

Methods

AssignableTo<TBaseType>(Type, String)

Declaration
public static Type AssignableTo<TBaseType>(Type type, string parameterName)
Parameters
Type Name Description
Type type
System.String parameterName
Returns
Type Description
Type
Type Parameters
Name Description
TBaseType

Length(String, String, Int32, Int32)

Declaration
public static string Length(string value, string parameterName, int maxLength, int minLength = 0)
Parameters
Type Name Description
System.String value
System.String parameterName
System.Int32 maxLength
System.Int32 minLength
Returns
Type Description
System.String

NotNull(String, String, Int32, Int32)

Declaration
public static string NotNull(string value, string parameterName, int maxLength = null, int minLength = 0)
Parameters
Type Name Description
System.String value
System.String parameterName
System.Int32 maxLength
System.Int32 minLength
Returns
Type Description
System.String

NotNull<T>(T, String)

Declaration
public static T NotNull<T>(T value, string parameterName)
Parameters
Type Name Description
T value
System.String parameterName
Returns
Type Description
T
Type Parameters
Name Description
T

NotNull<T>(T, String, String)

Declaration
public static T NotNull<T>(T value, string parameterName, string message)
Parameters
Type Name Description
T value
System.String parameterName
System.String message
Returns
Type Description
T
Type Parameters
Name Description
T

NotNullOrEmpty(String, String, Int32, Int32)

Declaration
public static string NotNullOrEmpty(string value, string parameterName, int maxLength = null, int minLength = 0)
Parameters
Type Name Description
System.String value
System.String parameterName
System.Int32 maxLength
System.Int32 minLength
Returns
Type Description
System.String

NotNullOrEmpty<T>(ICollection<T>, String)

Declaration
public static ICollection<T> NotNullOrEmpty<T>(ICollection<T> value, string parameterName)
Parameters
Type Name Description
ICollection<T> value
System.String parameterName
Returns
Type Description
ICollection<T>
Type Parameters
Name Description
T

NotNullOrWhiteSpace(String, String, Int32, Int32)

Declaration
public static string NotNullOrWhiteSpace(string value, string parameterName, int maxLength = null, int minLength = 0)
Parameters
Type Name Description
System.String value
System.String parameterName
System.Int32 maxLength
System.Int32 minLength
Returns
Type Description
System.String
Back to top Powered by Volosoft