Exemplo n.º 1
0
 /// <summary>
 /// Get Document Name
 /// </summary>
 /// <param name="document">tp! Document</param>
 /// <returns>Name</returns>
 public static string GetName(thinkproject.Document document)
 {
     return(document.Title);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get Document API Url
 /// </summary>
 /// <param name="document">tp! Document</param>
 /// <returns>Url</returns>
 public static string GetUrl(thinkproject.Document document)
 {
     return(document.Url);
 }
Exemplo n.º 3
0
        /// <summary>
        /// Get Document Info
        /// </summary>
        /// <param name="document">tp! Document</param>
        /// <returns>Document Info</returns>
        public static IDictionary <string, object> GetInfo(thinkproject.Document document)
        {
            var info = document.GetDetails(ApiConnection.GetConnection());

            return(info);
        }