コード例 #1
0
 public MissionControl(ILogger logger, INavigationControl navigationControl, IPlanControl planControl)
 {
     _navigationControl = navigationControl;
     _planControl       = planControl;
     _logger            = logger;
 }
コード例 #2
0
 /// <summary>
 ///   Implements <see cref="Remotion.Web.UI.ISmartNavigablePage.RegisterNavigationControl">ISmartNavigablePage.RegisterNavigationControl</see>.
 /// </summary>
 public void RegisterNavigationControl(INavigationControl control)
 {
     ArgumentUtility.CheckNotNull("control", control);
     _navigationControls[control] = control;
 }
コード例 #3
0
 /// <summary>Static getter for Navigation Page</summary>
 public static Newtonsoft.Json.Linq.JToken GetNavigationPage(INavigationControl that)
 {
     return(that.GetPropertyValue <Newtonsoft.Json.Linq.JToken>("navigationPage"));
 }
コード例 #4
0
 /// <summary> Registers a <see cref="INavigationControl"/> with the <see cref="ISmartNavigablePage"/>. </summary>
 /// <param name="control"> The <see cref="INavigationControl"/> to register. Must not be <see langword="null"/>. </param>
 public void RegisterNavigationControl(INavigationControl control)
 {
     _smartPageInfo.RegisterNavigationControl(control);
 }
コード例 #5
0
 private NavigationManagerViewModel(INavigationControl control, INavigationStack stack)
 {
     Control = control;
     Stack   = stack;
 }
コード例 #6
0
 public static void Register(INavigationControl control, INavigationStack stack)
 {
     Instance = new NavigationManagerViewModel(control, stack);
 }