/// <summary> /// Initializes a new instance of the <see cref="T:Example.Models.Constraints.HasConfigurationContraint"/> class. /// </summary> /// <param name="serviceName">Service name.</param> /// <param name="serviceType">Service type.</param> /// <param name="serviceDocPage">Service documentation page item.</param> public HasConfigurationContraint(string serviceName, string serviceType, NavigationItemIds serviceDocPage) { this.serviceName = serviceName; this.serviceType = serviceType; this.serviceDocPage = serviceDocPage; }
internal NavigationItem GetItem(NavigationItemIds id) { return(ViewModel.Items[id]); }
public void MoveTo(NavigationItemIds navItemId) { DrawerMenuPage.ListView.SelectedItem = DrawerMenuPage.GetItem(navItemId); }