Example #1
0
 /// <summary>
 /// Provides a deterministic way to create the EditItem property.
 /// </summary>
 public static void CreateEditItem()
 {
     if (_editItem == null)
     {
         _editItem = Container.Resolve <EditItemViewModel>();
     }
 }
Example #2
0
 /// <summary>
 /// Provides a deterministic way to create the EditItem property.
 /// </summary>
 public static void CreateEditItem()
 {
     if (_editItem == null)
     {
         _editItem = Container.Resolve<EditItemViewModel>();
     }
 }
Example #3
0
 /// <summary>
 /// Provides a deterministic way to delete the EditItem property.
 /// </summary>
 public static void ClearEditItem()
 {
     _editItem.Cleanup();
     _editItem = null;
 }
Example #4
0
 /// <summary>
 /// Provides a deterministic way to delete the EditItem property.
 /// </summary>
 public static void ClearEditItem()
 {
     _editItem.Cleanup();
     _editItem = null;
 }