Maintains metadata about a property.
More...
|
| | PropertyInfo (string name, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, RelationshipTypes relationship, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, T defaultValue, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, string? friendlyName, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, string? friendlyName, Type containingType, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, string? friendlyName, Type containingType, T defaultValue, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, string? friendlyName, Type containingType, RelationshipTypes relationship, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| | PropertyInfo (string name, string? friendlyName, Type? containingType, T? defaultValue, RelationshipTypes relationship, bool? isSerializable=null) |
| | Creates a new instance of this class.
|
| System.Reflection.? PropertyInfo | GetPropertyInfo () |
| | Gets the System.Reflection.PropertyInfo object representing the property.
|
|
| string | Name [get] |
| | Gets the property name value.
|
| Type | Type [get] |
| | Gets the type of the property.
|
| virtual string | FriendlyName [get] |
| | Gets the friendly display name for the property.
|
| virtual bool | IsSerializable [get] |
| | Gets or sets a value indicating whether this property is serializable.
|
| virtual ? T | DefaultValue [get] |
| | Gets the default initial value for the property.
|
| RelationshipTypes | RelationshipType = RelationshipTypes.None [get] |
| | Gets the relationship between the declaring object and the object reference in the property.
|
| bool | IsChild [get] |
| | Gets a value indicating whether this property references a child in the object graph.
|
Maintains metadata about a property.
- Template Parameters
-
| T | Data type of the property. |
◆ DataBindingFriendlyDefault()
| ? T Csla.PropertyInfo< T >.DataBindingFriendlyDefault |
( |
| ) |
|
|
inlinestatic |
Creates the CSLA Data Binding Friendly default for the given type T.
- Returns
- Default value for T which is compatible with Data Binding
◆ GetPropertyInfo()
| System.Reflection.? PropertyInfo Csla.PropertyInfo< T >.GetPropertyInfo |
( |
| ) |
|
|
inline |
◆ NewFieldData()
Create and return a new IFieldData object to store an instance value for this property.
- Parameters
-
- Exceptions
-
| ArgumentException | name is null, string.Empty or consists only of white spaces. |
Implements Csla.Core.IPropertyInfo.
◆ PropertyInfo() [1/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [2/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
RelationshipTypes | relationship, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| relationship | Relationship with referenced object. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [3/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
string? | friendlyName, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| friendlyName | Friendly display name for the property. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [4/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
string? | friendlyName, |
|
|
Type | containingType, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| friendlyName | Friendly display name for the property. |
| containingType | Factory to provide display name from attributes. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [5/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
string? | friendlyName, |
|
|
Type | containingType, |
|
|
RelationshipTypes | relationship, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| friendlyName | Friendly display name for the property. |
| containingType | Factory to provide display name from attributes. |
| relationship | Relationship with referenced object. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [6/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
string? | friendlyName, |
|
|
Type | containingType, |
|
|
T | defaultValue, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| friendlyName | Friendly display name for the property. |
| containingType | Factory to provide display name from attributes. |
| defaultValue | Default value for the property. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [7/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
string? | friendlyName, |
|
|
Type? | containingType, |
|
|
T? | defaultValue, |
|
|
RelationshipTypes | relationship, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| friendlyName | Friendly display name for the property. |
| containingType | Factory to provide display name from attributes. |
| defaultValue | Default value for the property. |
| relationship | Relationship with referenced object. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ PropertyInfo() [8/8]
| Csla.PropertyInfo< T >.PropertyInfo |
( |
string | name, |
|
|
T | defaultValue, |
|
|
bool? | isSerializable = null ) |
|
inline |
Creates a new instance of this class.
- Parameters
-
| name | Name of the property. |
| defaultValue | Default value for the property. |
| isSerializable | If property is serializable |
- Exceptions
-
| ArgumentNullException | name is null. |
◆ DefaultValue
| virtual ? T Csla.PropertyInfo< T >.DefaultValue |
|
get |
Gets the default initial value for the property.
This value is used to initialize the property's value, and is returned from a property get if the user is not authorized to read the property.
Implements Csla.Core.IPropertyInfo.
◆ FriendlyName
| virtual string Csla.PropertyInfo< T >.FriendlyName |
|
get |
Gets the friendly display name for the property.
If no friendly name was provided, the property name itself is returned as a result.
Implements Csla.Core.IPropertyInfo.
◆ IsChild
| bool Csla.PropertyInfo< T >.IsChild |
|
get |
Gets a value indicating whether this property references a child in the object graph.
Implements Csla.Core.IPropertyInfo.
◆ IsSerializable
| virtual bool Csla.PropertyInfo< T >.IsSerializable |
|
get |
Gets or sets a value indicating whether this property is serializable.
If the property is marked with the DoNotSerializeAttribute, it is considered not serializable. Otherwise, it is considered serializable.
Implements Csla.Core.IPropertyInfo.
◆ Name
| string Csla.PropertyInfo< T >.Name |
|
get |
◆ RelationshipType
Gets the relationship between the declaring object and the object reference in the property.
Implements Csla.Core.IPropertyInfo.
◆ Type
| Type Csla.PropertyInfo< T >.Type |
|
get |
The documentation for this class was generated from the following file: