コード例 #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);
        }
コード例 #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();
        }
コード例 #3
0
 public LogDetailsPageModel() : this(DesignData.CreateBatLog())
 {
     CallDetailsViewModel.Initialize().Wait();
     ViewInfosPivotModel.Initialize().Wait();
 }