ListsSample.Model.ModelList.ModelList C# (CSharp) Method

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
        public ModelList(DefaultScope.List list, ListSampleOfflineContext context)
        {
            this.list = list;
            this.context = context;
            items = null;

            // Register for the property changed event
            list.PropertyChanged += new PropertyChangedEventHandler(list_PropertyChanged);
        }