C# Class GitHub.Validation.ReactiveValidatableObject

Inheritance: ReactiveUI.ReactiveObject, IDataErrorInfo
Mostrar archivo Open project: github/VisualStudio

Private Properties

Property Type Description
EnableValidationForUnvalidatedProperties IEnumerable
GetErrorMessage string
GetValidatedProperties ValidatedProperty>.Dictionary
TriggerValidationForAllProperties void
TriggerValidationForProperty void

Public Methods

Method Description
ReactiveValidatableObject ( [ serviceProvider ) : System
ResetValidation ( ) : void
SetErrorMessage ( string propertyName, string errorMessage ) : void
Validate ( ) : bool
this ( string propertyName ) : string

Private Methods

Method Description
EnableValidationForUnvalidatedProperties ( ) : IEnumerable
GetErrorMessage ( string propertyName ) : string
GetValidatedProperties ( Type type ) : ValidatedProperty>.Dictionary
TriggerValidationForAllProperties ( ) : void
TriggerValidationForProperty ( string propertyName ) : void

Method Details

ReactiveValidatableObject() public method

public ReactiveValidatableObject ( [ serviceProvider ) : System
serviceProvider [
return System

ResetValidation() public method

public ResetValidation ( ) : void
return void

SetErrorMessage() public method

public SetErrorMessage ( string propertyName, string errorMessage ) : void
propertyName string
errorMessage string
return void

Validate() public method

public Validate ( ) : bool
return bool

this() public method

public this ( string propertyName ) : string
propertyName string
return string