예제 #1
0
        /// <summary>
        /// Get Address Info
        /// </summary>
        /// <param name="address">tp! Address</param>
        /// <returns>Address Info</returns>
        public static IDictionary <string, object> GetInfo(thinkproject.Address address)
        {
            var  info = address.GetDetails(ApiConnection.GetConnection());
            Type t    = info.GetType();

            return(info);
        }
예제 #2
0
 /// <summary>
 /// Get Address API Url
 /// </summary>
 /// <param name="address">tp! Address</param>
 /// <returns>Url</returns>
 public static string GetUrl(thinkproject.Address address)
 {
     return(address.Url);
 }
예제 #3
0
 /// <summary>
 /// Get Address Name
 /// </summary>
 /// <param name="address">tp! Address</param>
 /// <returns>Name</returns>
 public static string GetName(thinkproject.Address address)
 {
     return(address.Title);
 }