/// <summary>
        /// Get DocumentFormDefinition Info
        /// </summary>
        /// <param name="definition">tp! DocumentFormDefinition</param>
        /// <returns>Project Info</returns>
        public static IDictionary <string, object> GetInfo(thinkproject.DocumentFormDefinition definition)
        {
            var info = definition.GetDetails(ApiConnection.GetConnection());

            return(info);
        }
 /// <summary>
 /// List tp! Filters
 /// </summary>
 /// <param name="definition">tp! DocumentFormDefinition</param>
 /// <returns>Dictionary of Filters</returns>
 public static IEnumerable <thinkproject.Filter> GetFilters(thinkproject.DocumentFormDefinition definition)
 {
     return(thinkproject.Filter.GetFilters(definition, ApiConnection.GetConnection()));
 }
Beispiel #3
0
        /// <summary>
        /// Get Company Info
        /// </summary>
        /// <param name="company">tp! company</param>
        /// <returns>Company Info</returns>
        public static IDictionary <string, object> GetInfo(thinkproject.Company company)
        {
            var info = company.GetDetails(ApiConnection.GetConnection());

            return(info);
        }