![]() |
CSLA .NET 10.0.0
A home for your business logic
|
This class implements INotifyPropertyChanged and INotifyPropertyChanging in a serialization-safe manner. More...
Protected Member Functions | |
| BindableBase () | |
| Creates an instance of the type. | |
| virtual bool | ShouldHandlerSerialize (PropertyChangedEventHandler value) |
| Override this method to change the default logic for determining if the event handler should be serialized. | |
| virtual void | OnPropertyChanged (string propertyName) |
| Call this method to raise the PropertyChanged event for a specific property. | |
| virtual void | OnMetaPropertyChanged (string propertyName) |
| virtual void | OnPropertyChanged (IPropertyInfo propertyInfo) |
| Call this method to raise the PropertyChanged event for a specific property. | |
| virtual void | OnIsDirtyChanged () |
| Call this method to raise the PropertyChanged event for all object properties. | |
| virtual void | OnUnknownPropertyChanged () |
| Call this method to raise the PropertyChanged event for all object properties. | |
| virtual void | OnIsDirtyChanging () |
| Call this method to raise the PropertyChanging event for all object properties. | |
| virtual void | OnUnknownPropertyChanging () |
| Call this method to raise the PropertyChanging event for all object properties. | |
| virtual void | OnPropertyChanging (string propertyName) |
| Call this method to raise the PropertyChanging event for a specific property. | |
| virtual void | OnPropertyChanging (IPropertyInfo propertyInfo) |
| Call this method to raise the PropertyChanging event for a specific property. | |
| virtual bool | ShouldHandlerSerialize (PropertyChangingEventHandler value) |
| Override this method to change the default logic for determining if the event handler should be serialized. | |
| Protected Member Functions inherited from Csla.Core.MobileObject | |
| virtual void | OnGetState (SerializationInfo info, StateMode mode) |
| Override this method to insert your field values into the MobileFormatter serialization stream. | |
| virtual void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to insert your child object references into the MobileFormatter serialization stream. | |
| virtual void | OnSetState (SerializationInfo info, StateMode mode) |
| Override this method to retrieve your field values from the MobileFormatter serialization stream. | |
| virtual void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to retrieve your child object references from the MobileFormatter serialization stream. | |
| virtual void | OnGetMetastate (BinaryWriter writer) |
| Override this method to write field values directly to a binary stream for metastate serialization. | |
| virtual void | OnSetMetastate (BinaryReader reader) |
| Override this method to read field values directly from a binary stream for metastate deserialization. | |
Events | |
| PropertyChangedEventHandler? | PropertyChanged [add, remove] |
| Implements a serialization-safe PropertyChanged event. | |
| PropertyChangingEventHandler? | PropertyChanging [add, remove] |
| Implements a serialization-safe PropertyChanging event. | |
This class implements INotifyPropertyChanged and INotifyPropertyChanging in a serialization-safe manner.
|
inlineprotected |
Creates an instance of the type.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanged event for all object properties.
This method is for backward compatibility with CSLA .NET 1.x.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanging event for all object properties.
This method is for backward compatibility with CSLA .NET 1.x.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanged event for a MetaData (IsXYZ) property
| propertyName | Name of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanged event for a specific property.
| propertyInfo | PropertyInfo of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
Reimplemented in Csla.Core.BusinessBase.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanged event for a specific property.
| propertyName | Name of the property that has changed. |
This method may be called by properties in the business class to indicate the change in a specific property.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanging event for a specific property.
| propertyInfo | PropertyInfo of the property that has Changing. |
This method may be called by properties in the business class to indicate the change in a specific property.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanging event for a specific property.
| propertyName | Name of the property that has Changing. |
This method may be called by properties in the business class to indicate the change in a specific property.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanged event for all object properties.
This method is automatically called by MarkDirty. It actually raises PropertyChanged for an empty string, which tells data binding to refresh all properties.
|
inlineprotectedvirtual |
Call this method to raise the PropertyChanging event for all object properties.
This method is automatically called by MarkDirty. It actually raises PropertyChanging for an empty string, which tells data binding to refresh all properties.
|
inlineprotectedvirtual |
Override this method to change the default logic for determining if the event handler should be serialized.
| value | the event handler to review |
|
inlineprotectedvirtual |
Override this method to change the default logic for determining if the event handler should be serialized.
| value | the event handler to review |
|
addremove |
Implements a serialization-safe PropertyChanged event.
|
addremove |
Implements a serialization-safe PropertyChanging event.