Skip to content

Forge.Forms.Validation

redbaty edited this page Feb 16, 2018 · 1 revision

ComparisonValidator

public abstract class Forge.Forms.Validation.ComparisonValidator
    : FieldValidator

Properties

Type Name Summary
IProxy Argument

ConversionValidator

public class Forge.Forms.Validation.ConversionValidator
    : ValidationRule

Methods

Type Name Summary
ValidationResult Validate(Object value, CultureInfo cultureInfo)

EmptyValidator

public class Forge.Forms.Validation.EmptyValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

ErrorStringProvider

public class Forge.Forms.Validation.ErrorStringProvider
    : IErrorStringProvider

Methods

Type Name Summary
String GetErrorMessage(Object value)

ExistsInValidator

public class Forge.Forms.Validation.ExistsInValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

FalseValidator

public class Forge.Forms.Validation.FalseValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

FieldValidator

public abstract class Forge.Forms.Validation.FieldValidator
    : ValidationRule

Properties

Type Name Summary
IErrorStringProvider ErrorProvider
IBoolProxy IsEnforced
Boolean StrictValidation
ValidationPipe ValidationPipe
IValueConverter ValueConverter

Methods

Type Name Summary
ValidationResult Validate(Object value, CultureInfo cultureInfo)
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

GreaterThanEqualValidator

public class Forge.Forms.Validation.GreaterThanEqualValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

GreaterThanValidator

public class Forge.Forms.Validation.GreaterThanValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

IErrorStringProvider

public interface Forge.Forms.Validation.IErrorStringProvider

Methods

Type Name Summary
String GetErrorMessage(Object value)

IValidatorProvider

public interface Forge.Forms.Validation.IValidatorProvider

Methods

Type Name Summary
FieldValidator GetValidator(IResourceContext context, ValidationPipe pipe)

LessThanEqualValidator

public class Forge.Forms.Validation.LessThanEqualValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

LessThanValidator

public class Forge.Forms.Validation.LessThanValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

MatchPatternValidator

public class Forge.Forms.Validation.MatchPatternValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

MethodInvocationValidator

public class Forge.Forms.Validation.MethodInvocationValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NotEmptyValidator

public class Forge.Forms.Validation.NotEmptyValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NotEqualsValidator

public class Forge.Forms.Validation.NotEqualsValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NotExistsInValidator

public class Forge.Forms.Validation.NotExistsInValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NotMatchPatternValidator

public class Forge.Forms.Validation.NotMatchPatternValidator
    : ComparisonValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NotNullValidator

public class Forge.Forms.Validation.NotNullValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

NullValidator

public class Forge.Forms.Validation.NullValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

PlainErrorStringProvider

public class Forge.Forms.Validation.PlainErrorStringProvider
    : IErrorStringProvider

Properties

Type Name Summary
String ErrorMessage

Methods

Type Name Summary
String GetErrorMessage(Object value)

TrueValidator

public class Forge.Forms.Validation.TrueValidator
    : FieldValidator

Methods

Type Name Summary
Boolean ValidateValue(Object value, CultureInfo cultureInfo)

ValidationContext

Gets passed to method validators.

public class Forge.Forms.Validation.ValidationContext

Properties

Type Name Summary
CultureInfo CultureInfo Gets the Forge.Forms.Validation.ValidationContext.CultureInfo in which this validation is performed.
Object Model Gets the model that contains the property that is being validated.
Object ModelContext Gets the model's context at the time of validation.
String PropertyName Gets the name of the property that is being validated.
Object PropertyValue Gets the value of the property that is being validated.
Boolean WillCommit Gets whether the value will be written to the property regardless of validation result.

ValidationPipe

public class Forge.Forms.Validation.ValidationPipe
    : ValidationRule

Properties

Type Name Summary
String Error

Methods

Type Name Summary
ValidationResult Validate(Object value, CultureInfo cultureInfo)

ValueErrorStringProvider

public class Forge.Forms.Validation.ValueErrorStringProvider
    : IErrorStringProvider

Methods

Type Name Summary
String GetErrorMessage(Object value)

Clone this wiki locally