C# Class Company.OrmLanguage.OrmLanguageSerializationHelperBase.SerializationValidationObserver

An utility class to collect validation messages during serialization, and store them in serialization result.
Inheritance: DslValidation::ValidationMessageObserver, global::System.IDisposable
Exibir arquivo Open project: thabart/SimpleOrm

Public Methods

Method Description
Dispose ( ) : void

IDisposable.Dispose().

Protected Methods

Method Description
OnValidationMessageAdded ( global::Microsoft.VisualStudio.Modeling.Validation addedMessage ) : void

Called with validation messages are added.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Unregister the observer on dispose.

SerializationValidationObserver ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling.Validation validationController ) : System.Linq

Constructor

Method Details

Dispose() public method

IDisposable.Dispose().
public Dispose ( ) : void
return void

OnValidationMessageAdded() protected method

Called with validation messages are added.
protected OnValidationMessageAdded ( global::Microsoft.VisualStudio.Modeling.Validation addedMessage ) : void
addedMessage global::Microsoft.VisualStudio.Modeling.Validation
return void