SaveCommand() приватный Метод

private SaveCommand ( ) : void
Результат void
Пример #1
0
 public static void CreateConnection(Assert assert)
 {
     assert.Expect(1);
     Action done = assert.Async();
     ObservableConnection vm = new ObservableConnection();
     vm.Record1Id.SetValue(accounts[0].ToEntityReference());
     vm.Record2Id.SetValue(accounts[1].ToEntityReference());
     vm.OnSaveComplete += delegate(string result)
     {
         assert.Equal(result, "Error", "Message = " + result);
         done();
     };
     vm.SaveCommand();
 }