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
net11.0, net11.0-maccatalyst27.2, net11.0-tvos27.2, net11.0-windows10.0.19041, net11.0-android37.0, net11.0-macos27.2, net11.0-ios27.2, net10.0, net10.0-macos26.0, net10.0-android36.0, net10.0-tvos26.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-windows10.0.19041, net48, net47, net471, net472, net481
Class hierarchy
classDiagram
class IValidationContext
class IValidationComponent {
<<interface>>
}
IValidationComponent <|.. IValidationContext
class IReactiveObject {
<<interface>>
}
IReactiveObject <|.. IValidationContext
class INotifyPropertyChanged {
<<interface>>
}
INotifyPropertyChanged <|.. IValidationContext
class INotifyPropertyChanging {
<<interface>>
}
INotifyPropertyChanging <|.. IValidationContext
class IEnableLogger {
<<interface>>
}
IEnableLogger <|.. IValidationContext
class IsDisposed {
<<interface>>
}
IsDisposed <|.. IValidationContext
class IDisposable {
<<interface>>
}
IDisposable <|.. IValidationContext
Implements: IValidationComponent, IReactiveObject, INotifyPropertyChanged (opens in a new tab), INotifyPropertyChanging (opens in a new tab), IEnableLogger, IsDisposed, IDisposable (opens in a new tab)
Remarks¶
Contains all of the IValidationComponent instances applicable to the view model.
Properties¶
| Name | Summary |
|---|---|
| Valid | Gets an observable for the Valid state. |
| Validations | Gets the list of validations. |
Methods¶
| Name | Summary |
|---|---|
| Add | Adds a validation into the validations collection. |
| Remove | Removes a validation from the validations collection. |
| RemoveMany | Removes many validation components from the validations collection. |
| GetIsValid | Returns if the whole context is valid checking all the validations. |