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.AspNetCore.PropertyInfo Class Reference

Exposes metastate for a property. More...

Inheritance diagram for Csla.AspNetCore.PropertyInfo:

Public Member Functions

 PropertyInfo (object model, string propertyName)
 Creates an instance of the type. More...
 
void Refresh ()
 Indicate that all properties have changed to trigger a UI refresh of all values. More...
 

Properties

string ErrorText [get]
 Gets the validation error messages for a property on the Model More...
 
string WarningText [get]
 Gets the validation warning messages for a property on the Model More...
 
string InformationText [get]
 Gets the validation information messages for a property on the Model More...
 
bool CanRead [get]
 Gets a value indicating whether the current user is authorized to read the property on the Model More...
 
bool CanWrite [get]
 Gets a value indicating whether the current user is authorized to change the property on the Model More...
 
bool IsBusy [get]
 Gets a value indicating whether the property on the Model is busy More...
 

Events

PropertyChangedEventHandler PropertyChanged
 Event raised when a property changes. More...
 

Detailed Description

Exposes metastate for a property.

Definition at line 20 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

Constructor & Destructor Documentation

◆ PropertyInfo()

Csla.AspNetCore.PropertyInfo.PropertyInfo ( object  model,
string  propertyName 
)

Creates an instance of the type.

Parameters
modelModel object
propertyNameProperty name

Definition at line 30 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

Member Function Documentation

◆ Refresh()

void Csla.AspNetCore.PropertyInfo.Refresh ( )

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

Definition at line 50 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

Property Documentation

◆ CanRead

bool Csla.AspNetCore.PropertyInfo.CanRead
get

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

Returns

Definition at line 109 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

◆ CanWrite

bool Csla.AspNetCore.PropertyInfo.CanWrite
get

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

Returns

Definition at line 125 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

◆ ErrorText

string Csla.AspNetCore.PropertyInfo.ErrorText
get

Gets the validation error messages for a property on the Model

Returns

Definition at line 61 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

◆ InformationText

string Csla.AspNetCore.PropertyInfo.InformationText
get

Gets the validation information messages for a property on the Model

Returns

Definition at line 93 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

◆ IsBusy

bool Csla.AspNetCore.PropertyInfo.IsBusy
get

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

Returns

Definition at line 141 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

◆ WarningText

string Csla.AspNetCore.PropertyInfo.WarningText
get

Gets the validation warning messages for a property on the Model

Returns

Definition at line 77 of file Csla.AspNetCore.Shared/PropertyInfo.cs.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler Csla.AspNetCore.PropertyInfo.PropertyChanged

Event raised when a property changes.

Definition at line 155 of file Csla.AspNetCore.Shared/PropertyInfo.cs.