/// <summary> /// Provides a deterministic way to create the Selection property. /// </summary> public static void CreateSelection() { if (_selection == null) { _selection = _iocContainer.Resolve <SelectionViewModel>(); } }
/// <summary> /// Provides a deterministic way to create the Selection property. /// </summary> public static void CreateSelection() { if (_selection == null) { _selection = _iocContainer.Resolve<SelectionViewModel>(); } }
/// <summary> /// Provides a deterministic way to delete the Selection property. /// </summary> public static void ClearSelection() { _selection.Cleanup(); _selection = null; }