public SamplesListFromCategory(SampleCategory sampleCategory)
        {
            InitializeComponent();

            BindingContext = sampleCategory;
            Title          = sampleCategory.Name;
        }
Ejemplo n.º 2
0
 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 ));
 }
Ejemplo n.º 4
0
 public static Page GetPage(SampleCategory sampleCategory)
 {
     return(new SamplesListFromCategoryPage(sampleCategory));
 }
Ejemplo n.º 5
0
 public static async Task NavigateToCategory(SampleCategory sampleCategory, INavigation navigation)
 {
     await navigation.PushAsync(new TabbedPageRLC(sampleCategory));
 }
Ejemplo n.º 6
0
 public SamplesListFromCategoryPage(SampleCategory sampleCategory)
 {
     InitializeComponent();
     Chart.Series[0].Opacity = .5;
     BindingContext          = new AuthorizationLineViewModel(sampleCategory);
 }