Ejemplo n.º 1
0
        protected LogDetailsPageModel(BatNodeLog batLog)
        {
            EditLogCommand = new RelayCommand(() => _navigationService.EditLog(BatLog));

            BatLog   = batLog;
            BatCalls = new List <BatCall>();

            CallDetailsViewModel = new CallDetailsViewModel(this);
            ViewInfosPivotModel  = new ViewInfosPivotModel(this);
        }
Ejemplo n.º 2
0
        protected override async Task InitializeInternal()
        {
            BatCalls = await _db.LoadCalls(BatLog, false, true);

            BatInfos = await _db.LoadInfos(BatLog);

            await CallDetailsViewModel.Initialize();

            await ViewInfosPivotModel.Initialize();
        }
Ejemplo n.º 3
0
 public LogDetailsPageModel() : this(DesignData.CreateBatLog())
 {
     CallDetailsViewModel.Initialize().Wait();
     ViewInfosPivotModel.Initialize().Wait();
 }