CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Blazor.CslaValidationMessageBase< PropertyType > Class Template Reference

Validation message base type. More...

Inheritance diagram for Csla.Blazor.CslaValidationMessageBase< PropertyType >:

Public Member Functions

void Dispose ()
 Dispose the object.

Protected Member Functions

override void OnInitialized ()
 On initialized method.
override void OnParametersSet ()
 On parameters set method.
void OnFieldChanged (object? sender, FieldChangedEventArgs eventArgs)
 On field changed method.
void OnValidationStateChanged (object? sender, ValidationStateChangedEventArgs eventArgs)
 On validation state changed method.
void DetachPreviousEventHandlers ()
 Detatch previous event handlers.
IEnumerable< string > GetErrorMessages ()
 Get error messages.
IEnumerable< string > GetWarningMessages ()
 Get warning messages.
IEnumerable< string > GetInfoMessages ()
 Get info messages.
virtual void Dispose (bool disposing)
 Dispose the object.

Protected Attributes

bool _validationInitiated = false
 Value indicating whether validation is initiated.

Properties

Expression< Func< PropertyType > > For = default! [get, set]
 Gets or sets the expression t use during validation.
string WrapperId = "wrapper" [get, set]
 Gets or sets the wrapper id.
string WrapperClass = "validation-messages" [get, set]
 Gets or sets the wrapper class.
string ErrorClass = "text-danger" [get, set]
 Gets or sets the error class.
string WarningClass = "text-warning" [get, set]
 Gets or sets the warning class.
string InfoClass = "text-info" [get, set]
 Gets or sets the info class.
string ErrorWrapperClass = "error-messages" [get, set]
 Gets or sets the error wrapper class.
string WarningWrapperClass = "warning-messages" [get, set]
 Gets or sets the warning wrapper class.
string InfoWrapperClass = "information-messages" [get, set]
 Gets or sets the info wrapper class.
EditContext CurrentEditContext = default! [get, set]
 Gets or sets the current edit context.

Detailed Description

Validation message base type.

Member Function Documentation

◆ DetachPreviousEventHandlers()

void Csla.Blazor.CslaValidationMessageBase< PropertyType >.DetachPreviousEventHandlers ( )
inlineprotected

Detatch previous event handlers.

◆ Dispose() [1/2]

void Csla.Blazor.CslaValidationMessageBase< PropertyType >.Dispose ( )
inline

Dispose the object.

◆ Dispose() [2/2]

virtual void Csla.Blazor.CslaValidationMessageBase< PropertyType >.Dispose ( bool disposing)
inlineprotectedvirtual

Dispose the object.

Parameters
disposingDisposing

◆ GetErrorMessages()

IEnumerable< string > Csla.Blazor.CslaValidationMessageBase< PropertyType >.GetErrorMessages ( )
inlineprotected

Get error messages.

◆ GetInfoMessages()

IEnumerable< string > Csla.Blazor.CslaValidationMessageBase< PropertyType >.GetInfoMessages ( )
inlineprotected

Get info messages.

◆ GetWarningMessages()

IEnumerable< string > Csla.Blazor.CslaValidationMessageBase< PropertyType >.GetWarningMessages ( )
inlineprotected

Get warning messages.

◆ OnFieldChanged()

void Csla.Blazor.CslaValidationMessageBase< PropertyType >.OnFieldChanged ( object? sender,
FieldChangedEventArgs eventArgs )
inlineprotected

On field changed method.

Parameters
sender
eventArgs

◆ OnInitialized()

override void Csla.Blazor.CslaValidationMessageBase< PropertyType >.OnInitialized ( )
inlineprotected

On initialized method.

◆ OnParametersSet()

override void Csla.Blazor.CslaValidationMessageBase< PropertyType >.OnParametersSet ( )
inlineprotected

On parameters set method.

◆ OnValidationStateChanged()

void Csla.Blazor.CslaValidationMessageBase< PropertyType >.OnValidationStateChanged ( object? sender,
ValidationStateChangedEventArgs eventArgs )
inlineprotected

On validation state changed method.

Parameters
sender
eventArgs

Member Data Documentation

◆ _validationInitiated

bool Csla.Blazor.CslaValidationMessageBase< PropertyType >._validationInitiated = false
protected

Value indicating whether validation is initiated.

Property Documentation

◆ CurrentEditContext

EditContext Csla.Blazor.CslaValidationMessageBase< PropertyType >.CurrentEditContext = default!
getsetprotected

Gets or sets the current edit context.

◆ ErrorClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.ErrorClass = "text-danger"
getset

Gets or sets the error class.

◆ ErrorWrapperClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.ErrorWrapperClass = "error-messages"
getset

Gets or sets the error wrapper class.

◆ For

Expression<Func<PropertyType> > Csla.Blazor.CslaValidationMessageBase< PropertyType >.For = default!
getset

Gets or sets the expression t use during validation.

◆ InfoClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.InfoClass = "text-info"
getset

Gets or sets the info class.

◆ InfoWrapperClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.InfoWrapperClass = "information-messages"
getset

Gets or sets the info wrapper class.

◆ WarningClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.WarningClass = "text-warning"
getset

Gets or sets the warning class.

◆ WarningWrapperClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.WarningWrapperClass = "warning-messages"
getset

Gets or sets the warning wrapper class.

◆ WrapperClass

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.WrapperClass = "validation-messages"
getset

Gets or sets the wrapper class.

◆ WrapperId

string Csla.Blazor.CslaValidationMessageBase< PropertyType >.WrapperId = "wrapper"
getset

Gets or sets the wrapper id.


The documentation for this class was generated from the following file: