Table of Contents

Class ErrorMessageProvider

Namespace
CloudyWing.FormValidators.Core
Assembly
CloudyWing.FormValidators.dll

The error message provider.

public static class ErrorMessageProvider
Inheritance
ErrorMessageProvider
Inherited Members

Properties

ValueCompareAnotherColumnValueAccessor

Gets the value compare another column value accessor.

public static Func<string, string, string, string, string> ValueCompareAnotherColumnValueAccessor { get; }

Property Value

Func<string, string, string, string, string>

The value compare another column value accessor. The arguments are column, value, comparison column, comparison value.

ValueGreaterOrEqualAccessor

Gets the value greater or equal accessor.

public static Func<string, string, object, string> ValueGreaterOrEqualAccessor { get; }

Property Value

Func<string, string, object, string>

The value greater or equal accessor. The arguments are column, value, min, max.

ValueInRangeAccessor

Gets the value in range accessor.

public static Func<string, string, object, object, string> ValueInRangeAccessor { get; }

Property Value

Func<string, string, object, object, string>

The value in range accessor. The arguments are column, value, min, max.

ValueIsCreditCardAccessor

Gets the value is credit card accessor.

public static Func<string, string, string> ValueIsCreditCardAccessor { get; }

Property Value

Func<string, string, string>

The value is credit card accessor. The arguments are column, value.

ValueIsDateTimeAccessor

Gets the value is date time accessor.

public static Func<string, string, string> ValueIsDateTimeAccessor { get; }

Property Value

Func<string, string, string>

The value is date time accessor. The arguments are column, value.

ValueIsEmailAccessor

Gets the value is email accessor.

public static Func<string, string, string> ValueIsEmailAccessor { get; }

Property Value

Func<string, string, string>

The value is email accessor. The arguments are column, value.

ValueIsIPAddressAccessor

Gets the value is IP address accessor.

public static Func<string, string, IPAddressTypes, string> ValueIsIPAddressAccessor { get; }

Property Value

Func<string, string, IPAddressTypes, string>

The value is IP address accessor. The arguments are column, value, IP address types.

ValueIsIdCardAccessor

Gets the value is identification card accessor.

public static Func<string, string, IdCardTypes, string> ValueIsIdCardAccessor { get; }

Property Value

Func<string, string, IdCardTypes, string>

The value is identification card accessor. The arguments are column, value, identification card types.

ValueIsIntegerAccessor

Gets the value is integer accessor.

public static Func<string, string, string> ValueIsIntegerAccessor { get; }

Property Value

Func<string, string, string>

The value is integer accessor. The arguments are column, value.

ValueIsMobilePhoneAccessor

Gets the value is mobile phone accessor.

public static Func<string, string, MobilePhoneFormats, string> ValueIsMobilePhoneAccessor { get; }

Property Value

Func<string, string, MobilePhoneFormats, string>

The value is mobile phone accessor. The arguments are column, value, mobile phone formats.

ValueIsNumberAccessor

Gets the value is number accessor.

public static Func<string, string, string> ValueIsNumberAccessor { get; }

Property Value

Func<string, string, string>

The value is number accessor. The arguments are column, value.

ValueIsRequiredAccessor

Gets the value is required accessor.

public static Func<string, string, string> ValueIsRequiredAccessor { get; }

Property Value

Func<string, string, string>

The value is required accessor. The arguments are column, value.

ValueIsUrlAccessor

Gets the value is URL accessor.

public static Func<string, string, string> ValueIsUrlAccessor { get; }

Property Value

Func<string, string, string>

The value is URL accessor. The arguments are column, value.

ValueLengthGreaterOrEqualAccessor

Gets the value length greater or equal accessor.

public static Func<string, string, long, string> ValueLengthGreaterOrEqualAccessor { get; }

Property Value

Func<string, string, long, string>

The value length greater or equal accessor. The arguments are column, value, min.

ValueLengthInRangeAccessor

Gets the value length in range accessor.

public static Func<string, string, long, long, string> ValueLengthInRangeAccessor { get; }

Property Value

Func<string, string, long, long, string>

The value length in range accessor. The arguments are column, value, min, max.

ValueLengthLessOrEqualAccessor

Gets the value length less or equal accessor.

public static Func<string, string, long, string> ValueLengthLessOrEqualAccessor { get; }

Property Value

Func<string, string, long, string>

The value length less or equal accessor. The arguments are column, value, max.

ValueLessOrEqualAccessor

Gets the value less or equal accessor.

public static Func<string, string, object, string> ValueLessOrEqualAccessor { get; }

Property Value

Func<string, string, object, string>

The value less or equal accessor. The arguments are column, value, max.

ValueLessThanAnotherColumnValueAccessor

Gets the value less than another column value accessor.

public static Func<string, string, string, string, bool, string> ValueLessThanAnotherColumnValueAccessor { get; }

Property Value

Func<string, string, string, string, bool, string>

The value less than another column value accessor. The arguments are column, value, comparison column, comparison value, allowed equal.

ValueMatchRegexAccessor

Gets the value match regex accessor.

public static Func<string, string, string> ValueMatchRegexAccessor { get; }

Property Value

Func<string, string, string>

The value match regex accessor. The arguments are column, value.

Methods

SetValueCompareAnotherColumnValueAccessor(Func<string, string, string, string, string>)

Sets the value compare another column value accessor.

public static void SetValueCompareAnotherColumnValueAccessor(Func<string, string, string, string, string> accessor)

Parameters

accessor Func<string, string, string, string, string>

The accessor. The arguments are column, value, comparison column, comparison value.

Exceptions

ArgumentNullException

accessor

SetValueGreaterOrEqualAccessor(Func<string, string, object, string>)

Sets the value greater or equal accessor.

public static void SetValueGreaterOrEqualAccessor(Func<string, string, object, string> accessor)

Parameters

accessor Func<string, string, object, string>

The accessor. The arguments are column, value, min.

Exceptions

ArgumentNullException

accessor

SetValueInRangeAccessor(Func<string, string, object, object, string>)

Sets the value in range accessor.

public static void SetValueInRangeAccessor(Func<string, string, object, object, string> accessor)

Parameters

accessor Func<string, string, object, object, string>

The accessor. The arguments are column, value, min, max.

Exceptions

ArgumentNullException

accessor

SetValueIsCreditCardAccessor(Func<string, string, string>)

Sets the value is credit card accessor.

public static void SetValueIsCreditCardAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsDateTimeAccessor(Func<string, string, string>)

Sets the value is date time accessor.

public static void SetValueIsDateTimeAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsEmailAccessor(Func<string, string, string>)

Sets the value is email accessor.

public static void SetValueIsEmailAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsIPAddressAccessor(Func<string, string, IPAddressTypes, string>)

Sets the value is IP address accessor.

public static void SetValueIsIPAddressAccessor(Func<string, string, IPAddressTypes, string> accessor)

Parameters

accessor Func<string, string, IPAddressTypes, string>

The accessor. The arguments are column, value, IP address types.

Exceptions

ArgumentNullException

accessor

SetValueIsIdCardAccessor(Func<string, string, IdCardTypes, string>)

Sets the value is identification card accessor.

public static void SetValueIsIdCardAccessor(Func<string, string, IdCardTypes, string> accessor)

Parameters

accessor Func<string, string, IdCardTypes, string>

The accessor. The arguments are column, value, identification card types.

Exceptions

ArgumentNullException

accessor

SetValueIsIntegerAccessor(Func<string, string, string>)

Sets the value is integer accessor.

public static void SetValueIsIntegerAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsMobilePhoneAccessor(Func<string, string, MobilePhoneFormats, string>)

Sets the value is mobile phone accessor.

public static void SetValueIsMobilePhoneAccessor(Func<string, string, MobilePhoneFormats, string> accessor)

Parameters

accessor Func<string, string, MobilePhoneFormats, string>

The accessor. The arguments are column, value, mobile phone formats.

Exceptions

ArgumentNullException

accessor

SetValueIsNumberAccessor(Func<string, string, string>)

Sets the value is number accessor.

public static void SetValueIsNumberAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsRequiredAccessor(Func<string, string, string>)

Sets the value is required accessor.

public static void SetValueIsRequiredAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueIsUrlAccessor(Func<string, string, string>)

Sets the value is URL accessor.

public static void SetValueIsUrlAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor

SetValueLengthGreaterOrEqualAccessor(Func<string, string, long, string>)

Sets the value length greater or equal accessor.

public static void SetValueLengthGreaterOrEqualAccessor(Func<string, string, long, string> accessor)

Parameters

accessor Func<string, string, long, string>

The accessor. The arguments are column, value, min.

Exceptions

ArgumentNullException

accessor

SetValueLengthInRangeAccessor(Func<string, string, long, long, string>)

Sets the value length in range accessor.

public static void SetValueLengthInRangeAccessor(Func<string, string, long, long, string> accessor)

Parameters

accessor Func<string, string, long, long, string>

The accessor. The arguments are column, value, min, max.

Exceptions

ArgumentNullException

accessor

SetValueLengthLessOrEqualAccessor(Func<string, string, long, string>)

Sets the value length less or equal accessor.

public static void SetValueLengthLessOrEqualAccessor(Func<string, string, long, string> accessor)

Parameters

accessor Func<string, string, long, string>

The accessor. The arguments are column, value, max.

Exceptions

ArgumentNullException

accessor

SetValueLessOrEqualAccessor(Func<string, string, object, string>)

Sets the value less or equal accessor.

public static void SetValueLessOrEqualAccessor(Func<string, string, object, string> accessor)

Parameters

accessor Func<string, string, object, string>

The accessor. The arguments are column, value, max.

Exceptions

ArgumentNullException

accessor

SetValueLessThanAnotherColumnValueAccessor(Func<string, string, string, string, bool, string>)

Sets the value less than another column value accessor.

public static void SetValueLessThanAnotherColumnValueAccessor(Func<string, string, string, string, bool, string> accessor)

Parameters

accessor Func<string, string, string, string, bool, string>

The accessor. The arguments are column, value, comparison column, comparison value, allowed equal.

Exceptions

ArgumentNullException

accessor

SetValueMatchRegexAccessor(Func<string, string, string>)

Sets the value match regex accessor.

public static void SetValueMatchRegexAccessor(Func<string, string, string> accessor)

Parameters

accessor Func<string, string, string>

The accessor. The arguments are column, value.

Exceptions

ArgumentNullException

accessor