C# Class ListsSample.Model.ModelList

This is a conceptualized view of a list from the service, used for databinding. As such, it provides extra properties that the underlying list does not have.
Inheritance: INotifyPropertyChanged
Show file Open project: rafek/SyncFx Class Usage Examples

Public Methods

Method Description
ModelList ( DefaultScope list, ListSampleOfflineContext context ) : System

Construct which takes the underlying list and its associated context.

list_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles when a property changes on the underlying list. When this happens this instance should also notify.

Private Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Signals the PropertyChanged event.

Method Details

ModelList() public method

Construct which takes the underlying list and its associated context.
public ModelList ( DefaultScope list, ListSampleOfflineContext context ) : System
list DefaultScope
context DefaultScope.ListSampleOfflineContext
return System

list_PropertyChanged() public method

Handles when a property changes on the underlying list. When this happens this instance should also notify.
public list_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
return void