Proposed new attribute in BE.Core - AbsoluteLinkEncoded

Topics: Business Logic Layer
Feb 12, 2015 at 6:17 PM
Edited Feb 12, 2015 at 6:19 PM
Needed for implementation in a post view for properly urn-encoded links to include in share links.
   /// <summary>
        ///     Gets the ENCODED absolute link to the post.
        /// </summary>
        public String AbsoluteLinkEncoded
        {
            get
            {
                return HttpUtility.UrlEncode(this.AbsoluteLink.ToString());
                 
            }
        }