Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public TrackItemCacheNotYetSaved(bykIFv1.TrackItem item)
 {
     this._item     = item;
     this._fileName = string.Empty;
 }
Esempio n. 3
0
 public TrackItemCacheLoaded(bykIFv1.TrackItem item, string fileName)
 {
     this._item     = item;
     this._fileName = fileName;
 }
Esempio n. 4
0
 public TrackItemCacheModified(bykIFv1.TrackItem item, string fileName)
 {
     _item     = item;
     _fileName = fileName;
 }