protected LogDetailsPageModel(BatNodeLog batLog) { EditLogCommand = new RelayCommand(() => _navigationService.EditLog(BatLog)); BatLog = batLog; BatCalls = new List <BatCall>(); CallDetailsViewModel = new CallDetailsViewModel(this); ViewInfosPivotModel = new ViewInfosPivotModel(this); }
protected override async Task InitializeInternal() { BatCalls = await _db.LoadCalls(BatLog, false, true); BatInfos = await _db.LoadInfos(BatLog); await CallDetailsViewModel.Initialize(); await ViewInfosPivotModel.Initialize(); }
public LogDetailsPageModel() : this(DesignData.CreateBatLog()) { CallDetailsViewModel.Initialize().Wait(); ViewInfosPivotModel.Initialize().Wait(); }