public void Init() { this.projectCommunicator = new ProjectCommunicator(this.SpaceName, this.APIKey); }
/// <summary> /// プロジェクトの取得 /// </summary> /// <returns></returns> public async Task<IEnumerable<Project>> GetProjects() { var projectCommunicator = new ProjectCommunicator(this.SpaceName, this.APIKey); IEnumerable<Project> projects = null; await Task.Run(() => { projects = projectCommunicator.GetProjectList(true).ToList(); }); return projects; }