/// <summary> /// List tp! Documents /// </summary> /// <param name="filter">tp! filter</param> /// <returns>Dictionary of Documents</returns> public static IEnumerable <thinkproject.Document> GetDocuments(thinkproject.Filter filter) { return(thinkproject.Document.GetDocuments(filter, ApiConnection.GetConnection())); }
/// <summary> /// Get Filter Name /// </summary> /// <param name="filter">tp! Filter</param> /// <returns>Name</returns> public static string GetName(thinkproject.Filter filter) { return(filter.Title); }
/// <summary> /// Get Filter API Url /// </summary> /// <param name="filter">tp! Filter</param> /// <returns>Url</returns> public static string GetUrl(thinkproject.Filter filter) { return(filter.Url); }
/// <summary> /// Get filter Info /// </summary> /// <param name="filter">tp! filter</param> /// <returns>Project Info</returns> public static IDictionary <string, object> GetInfo(thinkproject.Filter filter) { var info = filter.GetDetails(ApiConnection.GetConnection()); return(info); }