public void TestPersitTempaltes()
 {
     try
     {
         _service.PersistTemplates();
     }
     catch (Exception ex)
     {
         Assert.Fail("Expected no exception, but got: " + ex.Message);
     }
 }
示例#2
0
 private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     WrapVoid(() => _service.PersistTemplates());
 }