//public void LoadProjects(DateTime lastModified) //{ // if (connector == null) // throw new Exception("Not connected to the Project Server App. Run the connect method first."); // else // connector.LoadProjects(lastModified); //} //public void LoadProjectMetadata(Guid id, bool loadTasks = true) //{ // if (connector == null) // throw new Exception("Not connected to the Project Server App. Run the connect method first."); // else // connector.LoadProjectMetadata(id, loadTasks); //} public bool IsConnected() { if (connector == null) { return(false); } else { return(connector.IsConnected()); } }