public void GetGesture(string projectName, string gestureName, GetGestureCallback callback) { throw new NotImplementedException(); }
public void GetGesture(string projectName, string gestureName, GetGestureCallback callback) { Exception e = null; string data = string.Empty; if (_firstTime) { GetAllProjects(null); Thread.Sleep(10000); //Wait for all projects to download from web } if (_localCache.Contains(projectName, gestureName)) { data = _localCache.Get(projectName, gestureName); } else { e = new Exception("No Gesture or project by that name"); } if (callback != null) { callback(projectName, gestureName, data, e); } }
public void GetGesture(string projectName, string gestureName, GetGestureCallback callback) { Tuple<string, string, GetGestureCallback> state = new Tuple<string, string, GetGestureCallback>(projectName, gestureName, callback); _dataService.GetGestureDataAsync(_accountName, projectName, gestureName, state); }
public void GetGesture(string projectName, string gestureName, GetGestureCallback callback) { _storage.GetGesture(projectName, gestureName, callback); }