Skip to content
Snippets Groups Projects
Select Git revision
  • v1.1-rc0
  • master default
  • sp/trace-zero-ranges
  • stable-2.5
  • stable-2.4
  • stable-2.3
  • stable-2.2
  • stable-2.1
  • stable-2.0
  • stable-1.7
  • stable-1.6
  • stable-1.5
  • stable-1.4
  • stable-1.3
  • stable-1.2
  • stable-1.1
  • stable-1.0
  • stable-0.15
  • stable-0.14
  • stable-0.13
  • stable-0.12
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.0
  • v2.5.1.1
  • v2.6.0-rc5
  • v2.6.0-rc4
  • v2.6.0-rc3
  • v2.6.0-rc2
  • v2.6.0-rc1
  • v2.6.0-rc0
  • v2.5.1
  • v2.5.0
  • v2.5.0-rc4
  • v2.5.0-rc3
  • v2.5.0-rc2
  • v2.5.0-rc1
  • v2.5.0-rc0
  • v2.4.1
  • v2.4.0.1
  • v2.3.1
41 results

.gitmodules

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    CustomUri.cs 626 B
    using System;
    
    namespace Coscine.Api.Blob.Util
    {
        /// <summary>
        /// Adapts the returned ToString of a Uri
        /// </summary>
        public class CustomUri : Uri
        {
            /// <summary>
            /// Constructs a Custom Uri
            /// </summary>
            /// <param name="uri"></param>
            public CustomUri(string uri) : base(uri)
            {
    
            }
    
            /// <summary>
            /// Overwrites the ToString for returning the AbsoluteUri (for dotNetRDF)
            /// </summary>
            /// <returns></returns>
            public override string ToString()
            {
                return AbsoluteUri;
            }
        }
    }