Beispiel #1
0
 /// <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()));
 }
Beispiel #2
0
 /// <summary>
 /// Get Filter Name
 /// </summary>
 /// <param name="filter">tp! Filter</param>
 /// <returns>Name</returns>
 public static string GetName(thinkproject.Filter filter)
 {
     return(filter.Title);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
        /// <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);
        }