示例#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;
 }