CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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 More...
 

Protected Member Functions

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

Protected Attributes

bool _validationInitiated = false
 Value indicating whether validation is initiated More...
 

Properties

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

Detailed Description

Validation message base type

Definition at line 16 of file CslaValidationMessages.razor.cs.

Member Function Documentation

◆ DetachPreviousEventHandlers()

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

Detatch previous event handlers

Definition at line 150 of file CslaValidationMessages.razor.cs.

◆ Dispose() [1/2]

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

Dispose the object

Definition at line 229 of file CslaValidationMessages.razor.cs.

◆ Dispose() [2/2]

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

Dispose the object

Parameters
disposingDisposing

Definition at line 238 of file CslaValidationMessages.razor.cs.

◆ GetErrorMessages()

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

Get error messages

Returns

Definition at line 168 of file CslaValidationMessages.razor.cs.

◆ GetInfoMessages()

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

Get info messages

Returns

Definition at line 186 of file CslaValidationMessages.razor.cs.

◆ GetWarningMessages()

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

Get warning messages

Returns

Definition at line 177 of file CslaValidationMessages.razor.cs.

◆ OnFieldChanged()

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

On field changed method

Parameters
sender
eventArgs

Definition at line 116 of file CslaValidationMessages.razor.cs.

◆ OnInitialized()

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

On initialized method

Definition at line 74 of file CslaValidationMessages.razor.cs.

◆ OnParametersSet()

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

On parameters set method

Definition at line 84 of file CslaValidationMessages.razor.cs.

◆ OnValidationStateChanged()

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

On validation state changed method

Parameters
sender
eventArgs

Definition at line 130 of file CslaValidationMessages.razor.cs.

Member Data Documentation

◆ _validationInitiated

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

Value indicating whether validation is initiated

Definition at line 22 of file CslaValidationMessages.razor.cs.

Property Documentation

◆ CurrentEditContext

EditContext Csla.Blazor.CslaValidationMessageBase< PropertyType >.CurrentEditContext
getsetprotected

Gets or sets the current edit context

Definition at line 67 of file CslaValidationMessages.razor.cs.

◆ ErrorClass

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

Gets or sets the error class

Definition at line 43 of file CslaValidationMessages.razor.cs.

◆ ErrorWrapperClass

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

Gets or sets the error wrapper class

Definition at line 55 of file CslaValidationMessages.razor.cs.

◆ For

Expression<Func<PropertyType> > Csla.Blazor.CslaValidationMessageBase< PropertyType >.For
getset

Gets or sets the expression t use during validation

Definition at line 31 of file CslaValidationMessages.razor.cs.

◆ InfoClass

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

Gets or sets the info class

Definition at line 51 of file CslaValidationMessages.razor.cs.

◆ InfoWrapperClass

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

Gets or sets the info wrapper class

Definition at line 63 of file CslaValidationMessages.razor.cs.

◆ WarningClass

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

Gets or sets the warning class

Definition at line 47 of file CslaValidationMessages.razor.cs.

◆ WarningWrapperClass

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

Gets or sets the warning wrapper class

Definition at line 59 of file CslaValidationMessages.razor.cs.

◆ WrapperClass

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

Gets or sets the wrapper class

Definition at line 39 of file CslaValidationMessages.razor.cs.

◆ WrapperId

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

Gets or sets the wrapper id

Definition at line 35 of file CslaValidationMessages.razor.cs.