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