コード例 #1
0
 /// <summary>
 /// Provides a deterministic way to create the Selection property.
 /// </summary>
 public static void CreateSelection()
 {
     if (_selection == null)
     {
         _selection = _iocContainer.Resolve <SelectionViewModel>();
     }
 }
コード例 #2
0
 /// <summary>
 /// Provides a deterministic way to create the Selection property.
 /// </summary>
 public static void CreateSelection()
 {
     if (_selection == null)
     {
         _selection = _iocContainer.Resolve<SelectionViewModel>();
     }
 }
コード例 #3
0
 /// <summary>
 /// Provides a deterministic way to delete the Selection property.
 /// </summary>
 public static void ClearSelection()
 {
     _selection.Cleanup();
     _selection = null;
 }
コード例 #4
0
 /// <summary>
 /// Provides a deterministic way to delete the Selection property.
 /// </summary>
 public static void ClearSelection()
 {
     _selection.Cleanup();
     _selection = null;
 }