public DeparturesViewModel(TrainServiceCache serviceCache) { _serviceCache = serviceCache; Station = "HAV"; _serviceCache.CollectionChanged += _serviceCache_CollectionChanged; if (IsInDesignModeStatic) { LoadDepartures(); } }
public DeparturesViewModel(TrainServiceCache serviceCache) { _serviceCache = serviceCache; Station = "HAV"; _serviceCache.CollectionChanged += _serviceCache_CollectionChanged; if (IsInDesignModeStatic) { LoadDepartures(); } }