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