public void GetData(Action<DataItem, Exception> callback)
        {
            // Use this to create design time data

            var item = new DataItem("Welcome to MVVM Light [design]");
            callback(item, null);
        }
Пример #2
0
        public void GetData(Action<DataItem, Exception> callback)
        {
            // Use this to connect to the actual data service

            var item = new DataItem("Welcome to MVVM Light");
            callback(item, null);
        }
Пример #3
0
        public void GetDevices(Action<DataItem, Exception> callback)
        {
            // Use this to connect to the actual data service

            var item = new DataItem();
            callback(item, null);
        }
 public void GetDevices(Action<DataItem, Exception> callback)
 {
     var item = new DataItem();
     callback(item, null);
 }