public SamplesListFromCategory(SampleCategory sampleCategory) { InitializeComponent(); BindingContext = sampleCategory; Title = sampleCategory.Name; }
public AuthorizationLineViewModel(SampleCategory counterpart) { CounterPart = counterpart.Name; //var authLine = new AuthorizationLine(CounterPart).Get(); //RiskItem = authLine.SelectedItem; _lineSituation = counterpart.LineSituation; LineSituationForPricingCalculation = new List <Situation>() { _lineSituation[0], _lineSituation[1] }; }
public static async Task NavigateToCategory(SampleCategory sampleCategory, INavigation navigation) { await navigation.PushAsync(new SamplesListFromCategory( sampleCategory )); }
public static Page GetPage(SampleCategory sampleCategory) { return(new SamplesListFromCategoryPage(sampleCategory)); }
public static async Task NavigateToCategory(SampleCategory sampleCategory, INavigation navigation) { await navigation.PushAsync(new TabbedPageRLC(sampleCategory)); }
public SamplesListFromCategoryPage(SampleCategory sampleCategory) { InitializeComponent(); Chart.Series[0].Opacity = .5; BindingContext = new AuthorizationLineViewModel(sampleCategory); }