C# Class YALV.Core.Domain.BindableObject

Inheritance: DisposableObject, INotifyPropertyChanged
Exibir arquivo Open project: LukePet/YALV

Public Methods

Method Description
BindableObject ( ) : System
GetPropertyChangedEventArgs ( string propertyName ) : PropertyChangedEventArgs

Returns an instance of PropertyChangedEventArgs for the specified property name.

RaisePropertyChanged ( string propertyName ) : void

Attempts to raise the PropertyChanged event, and invokes the virtual AfterPropertyChanged method, regardless of whether the event was raised or not.

Protected Methods

Method Description
OnAfterPropertyChanged ( string propertyName ) : void

Derived classes can override this method to execute logic after a property is set. The base implementation does nothing.

Private Methods

Method Description
VerifyProperty ( string propertyName ) : void

Method Details

BindableObject() public method

public BindableObject ( ) : System
return System

GetPropertyChangedEventArgs() public static method

Returns an instance of PropertyChangedEventArgs for the specified property name.
public static GetPropertyChangedEventArgs ( string propertyName ) : PropertyChangedEventArgs
propertyName string /// The name of the property to create event args for. ///
return System.ComponentModel.PropertyChangedEventArgs

OnAfterPropertyChanged() protected method

Derived classes can override this method to execute logic after a property is set. The base implementation does nothing.
protected OnAfterPropertyChanged ( string propertyName ) : void
propertyName string /// The property which was changed. ///
return void

RaisePropertyChanged() public method

Attempts to raise the PropertyChanged event, and invokes the virtual AfterPropertyChanged method, regardless of whether the event was raised or not.
public RaisePropertyChanged ( string propertyName ) : void
propertyName string /// The property which was changed. ///
return void