public static string ToUriString(this IKey key) { var segments = key.GetSegments(); return(string.Join("/", segments)); }