Skip to content

IValidationContext interface

Defined in

Namespace: ReactiveUI.Validation.Contexts Assembly: ReactiveUI.Validation.dll Full name: ReactiveUI.Validation.Contexts.IValidationContext Modifiers: public abstract

Summary

Inherited documentation

These docs were inherited from IValidationComponent.

    The overall context for a view model under which validation takes place.
        

Applies to

net10.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-android36.0, net10.0-ios26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net9.0, net9.0-windows10.0.19041, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net481, net462

Class hierarchy
classDiagram
class IValidationContext
class IValidationComponent {
    <>
}
IValidationComponent <|.. IValidationContext
class IReactiveObject {
    <>
}
IReactiveObject <|.. IValidationContext
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. IValidationContext
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. IValidationContext
class IEnableLogger {
    <>
}
IEnableLogger <|.. IValidationContext
class ICancelable {
    <>
}
ICancelable <|.. IValidationContext
class IDisposable {
    <>
}
IDisposable <|.. IValidationContext

Implements: IValidationComponent, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICancelable, IDisposable

Remarks

Contains all of the IValidationComponent instances applicable to the view model.

Properties

NameSummary
ValidGets an observable for the Valid state.
ValidationsGets the list of validations.

Methods

NameSummary
AddAdds a validation into the validations collection.
RemoveRemoves a validation from the validations collection.
RemoveManyRemoves many validation components from the validations collection.
GetIsValidReturns if the whole context is valid checking all the validations.

Extension members