public TrackItem GetTrackItem(out ITrackItemCache nextStatus) { string filePath = System.IO.Path.Combine(_savePath, _fileName); using (TrackItemReader tir = new TrackItemReader(filePath)) { _item = tir.Read(); } nextStatus = new TrackItemCacheLoaded(_item, _fileName); return(_item); }
public TrackItemCacheNotYetSaved(bykIFv1.TrackItem item) { this._item = item; this._fileName = string.Empty; }
public TrackItemCacheLoaded(bykIFv1.TrackItem item, string fileName) { this._item = item; this._fileName = fileName; }
public TrackItemCacheModified(bykIFv1.TrackItem item, string fileName) { _item = item; _fileName = fileName; }