Ejemplo n.º 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()));
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
        }