Exemple #1
0
 /// <summary>
 /// Loads domain objects from the source.
 /// NB: Note that exceptions are catched and ignored
 /// </summary>
 public async void Load()
 {
     try
     {
         _collection = await _source.Load();
     }
     catch (Exception)
     {
         // ignored
     }
     InvokeObjectCreated();
 }
Exemple #2
0
 /// <summary>
 /// Loads domain objects from the source.
 /// NB: Note that exceptions are catched and ignored
 /// </summary>
 public async void Load()
 {
     try
     {
         _collection = await _source.Load();
     }
     catch (Exception)
     {
         // ignored
     }
     Modified = true;
 }