CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Blazor.PropertyInfo Class Reference

Exposes metastate for a property. More...

Inheritance diagram for Csla.Blazor.PropertyInfo:
Csla.Blazor.IPropertyInfo

Public Member Functions

 PropertyInfo (object model, string propertyName, string textSeprator=" ")
 Creates an instance of the type.
void Refresh ()
 Indicate that all properties have changed to trigger a UI refresh of all values.
System.Reflection.? PropertyInfo GetPropertyInfo ()
 Gets the System.Reflection.PropertyInfo object representing the property.

Properties

string TextSeparator [get]
 Gets the value of the TextSeparator.
object Model [get]
 Gets the model.
object? Value [get, set]
 Gets or sets the value of the property.
string FriendlyName [get]
 Gets the friendly name for the property.
string PropertyName [get]
 Gets the property name for the property.
string ErrorText [get]
 Gets the validation error messages for a property on the Model.
string WarningText [get]
 Gets the validation warning messages for a property on the Model.
string InformationText [get]
 Gets the validation information messages for a property on the Model.
List< BrokenRuleBrokenRules [get]
 Gets the list of broken rules for a property on the Model.
bool CanRead [get]
 Gets a value indicating whether the current user is authorized to read the property on the Model.
bool CanWrite [get]
 Gets a value indicating whether the current user is authorized to change the property on the Model.
bool IsBusy [get]
 Gets a value indicating whether the property on the Model is busy.

Events

PropertyChangedEventHandler? PropertyChanged
 Event raised when a property changes.
Events inherited from Csla.Blazor.IPropertyInfo
PropertyChangedEventHandler? PropertyChanged
 Event raised when a property changes.

Detailed Description

Exposes metastate for a property.

Constructor & Destructor Documentation

◆ PropertyInfo()

Csla.Blazor.PropertyInfo.PropertyInfo ( object model,
string propertyName,
string textSeprator = " " )
inline

Creates an instance of the type.

Parameters
modelModel object
propertyNameProperty name
textSepratorText Seprator
Exceptions
ArgumentNullExceptionmodel or textSeprator is null.
ArgumentExceptionpropertyName is null, string.Empty or only consists of white spaces.

Member Function Documentation

◆ GetPropertyInfo()

System.Reflection.? PropertyInfo Csla.Blazor.PropertyInfo.GetPropertyInfo ( )
inline

Gets the System.Reflection.PropertyInfo object representing the property.

Implements Csla.Blazor.IPropertyInfo.

◆ Refresh()

void Csla.Blazor.PropertyInfo.Refresh ( )
inline

Indicate that all properties have changed to trigger a UI refresh of all values.

Implements Csla.Blazor.IPropertyInfo.

Property Documentation

◆ BrokenRules

List<BrokenRule> Csla.Blazor.PropertyInfo.BrokenRules
get

Gets the list of broken rules for a property on the Model.

◆ CanRead

bool Csla.Blazor.PropertyInfo.CanRead
get

Gets a value indicating whether the current user is authorized to read the property on the Model.

Implements Csla.Blazor.IPropertyInfo.

◆ CanWrite

bool Csla.Blazor.PropertyInfo.CanWrite
get

Gets a value indicating whether the current user is authorized to change the property on the Model.

Implements Csla.Blazor.IPropertyInfo.

◆ ErrorText

string Csla.Blazor.PropertyInfo.ErrorText
get

Gets the validation error messages for a property on the Model.

Implements Csla.Blazor.IPropertyInfo.

◆ FriendlyName

string Csla.Blazor.PropertyInfo.FriendlyName
get

Gets the friendly name for the property.

Implements Csla.Blazor.IPropertyInfo.

◆ InformationText

string Csla.Blazor.PropertyInfo.InformationText
get

Gets the validation information messages for a property on the Model.

Implements Csla.Blazor.IPropertyInfo.

◆ IsBusy

bool Csla.Blazor.PropertyInfo.IsBusy
get

Gets a value indicating whether the property on the Model is busy.

Implements Csla.Blazor.IPropertyInfo.

◆ Model

object Csla.Blazor.PropertyInfo.Model
getprotected

Gets the model.

◆ PropertyName

string Csla.Blazor.PropertyInfo.PropertyName
get

Gets the property name for the property.

Implements Csla.Blazor.IPropertyInfo.

◆ TextSeparator

string Csla.Blazor.PropertyInfo.TextSeparator
get

Gets the value of the TextSeparator.

Implements Csla.Blazor.IPropertyInfo.

◆ Value

object? Csla.Blazor.PropertyInfo.Value
getset

Gets or sets the value of the property.

Implements Csla.Blazor.IPropertyInfo.

◆ WarningText

string Csla.Blazor.PropertyInfo.WarningText
get

Gets the validation warning messages for a property on the Model.

Implements Csla.Blazor.IPropertyInfo.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler? Csla.Blazor.PropertyInfo.PropertyChanged

Event raised when a property changes.


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