Beispiel #1
0
 /// <summary>
 /// Create a dropdown viewmodel object that can be used to manage a dropdown view
 /// that contains a browser naviagtion (directory picker) control.
 /// </summary>
 /// <param name="treeBrowser"></param>
 /// <param name="recentLocations"></param>
 /// <param name="resultCallback"></param>
 /// <returns></returns>
 public static IDropDownViewModel CreateDropDownViewModel(
     IBrowserViewModel treeBrowser,
     IBookmarksViewModel recentLocations,
     DropDownClosedResult resultCallback)
 {
     return(new DropDownViewModel(treeBrowser, recentLocations, resultCallback));
 }
 /// <summary>
 /// Create a dropdown viewmodel object that can be used to manage a dropdown view
 /// that contains a browser naviagtion (directory picker) control.
 /// </summary>
 /// <param name="treeBrowser"></param>
 /// <param name="recentLocations"></param>
 /// <param name="resultCallback"></param>
 /// <returns></returns>
 public static IDropDownViewModel CreateDropDownViewModel(
     IMessageBoxService msgBox,
     IBrowserViewModel treeBrowser,
     IBookmarkedLocationsViewModel recentLocations,
     DropDownClosedResult resultCallback)
 {
     return(new DropDownViewModel(msgBox, treeBrowser, recentLocations, resultCallback));
 }
Beispiel #3
0
 /// <summary>
 /// Class constructor
 /// </summary>
 public DropDownViewModel(
     IBrowserViewModel treeBrowser,
     IBookmarksViewModel recentLocations,
     DropDownClosedResult resultCallback)
     : base(treeBrowser, recentLocations)
 {
     ResultCallback = resultCallback;
 }
 /// <summary>
 /// Class constructor
 /// </summary>
 public DropDownViewModel(
     IMessageBoxService msgBox,
     IBrowserViewModel treeBrowser,
     IBookmarkedLocationsViewModel recentLocations,
     DropDownClosedResult resultCallback)
     : base(msgBox, treeBrowser, recentLocations)
 {
     ResultCallback = resultCallback;
 }