/// <summary>
        /// Gets the URL.
        /// </summary>
        /// <param name="value">The value.</param>
        /// <returns></returns>
        public static string GetUrl(this IRImagePickerValue value)
        {
            if (value == null)
            {
                return(null);
            }

            return(IRImagePicker.GetUrl(value.ImageId, value.QueryString));
        }
Esempio n. 2
0
 /// <summary>
 /// Gets the URL.
 /// </summary>
 /// <param name="imageId">The image id.</param>
 /// <param name="queryString">The query string.</param>
 /// <returns></returns>
 public static XPathNavigator GetUrl(int imageId, string queryString)
 {
     return(IRImagePicker.GetUrl(imageId, queryString).ToXml());
 }