Exemplo n.º 1
0
        /// <summary>
        /// Get DocumentFieldDefinition Info
        /// </summary>
        /// <param name="documentFieldDefinition">tp! DocumentFieldDefinition</param>
        /// <returns>DocumentFieldDefinition Info</returns>
        public static IDictionary <string, object> GetInfo(thinkproject.DocumentFieldDefinition documentFieldDefinition)
        {
            var  info = documentFieldDefinition.GetDetails(ApiConnection.GetConnection());
            Type t    = info.GetType();

            return(info);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get DocumentFieldDefinition API Url
 /// </summary>
 /// <param name="documentFieldDefinition">tp! DocumentFieldDefinition</param>
 /// <returns>Url</returns>
 public static string GetUrl(thinkproject.DocumentFieldDefinition documentFieldDefinition)
 {
     return(documentFieldDefinition.Url);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Get DocumentFieldDefinition Name
 /// </summary>
 /// <param name="documentFieldDefinition">tp! DocumentFieldDefinition</param>
 /// <returns>Name</returns>
 public static string GetName(thinkproject.DocumentFieldDefinition documentFieldDefinition)
 {
     return(documentFieldDefinition.Title);
 }