public SamplesListFromCategory(SampleCategory sampleCategory)
        {
            InitializeComponent();

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