/// <summary> /// Log a text. /// This method is domain specific and should be accessible from any INavigable /// (as far they have path to next INavigable). /// </summary> /// <param name="origin">this INavigable.</param> /// <param name="text">The text to log.</param> /// <returns>The IVewMenu where the log was enter.</returns> public static IViewMenu Log(this INavigable origin, string text) { IUIAccess mySession = origin.Session as IUIAccess; IViewMenu viewMenu = mySession.ViewMenu; origin.GoTo(viewMenu) .Do(() => { viewMenu.EnterText(text); }); return(viewMenu); }
void IViewCardManager.setReference(IViewMenu viewMenu) { this.viewMenu = viewMenu; }
void IViewEditVoc.setReference(IViewMenu viewMenu) { this.viewMenu = viewMenu; }
void IViewWelcome.setReference(IViewMenu viewMenu) { this.viewMenu = viewMenu; }