Search Results for

    Show / Hide Table of Contents

    Class UriUtils

    Utility functions for operating on Uris

    Inheritance
    Object
    UriUtils
    Namespace: i5.Toolkit.Core.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class UriUtils

    Methods

    DictionaryToParameterString<T>(Dictionary<String, T>)

    Declaration
    public static string DictionaryToParameterString<T>(Dictionary<string, T> dictionary)
    Parameters
    Type Name Description
    Dictionary<String, T> dictionary
    Returns
    Type Description
    String
    Type Parameters
    Name Description
    T

    GetUriFragments(Uri)

    Declaration
    public static Dictionary<string, string> GetUriFragments(Uri uri)
    Parameters
    Type Name Description
    Uri uri
    Returns
    Type Description
    Dictionary<String, String>

    GetUriParameters(Uri)

    Extracts the parameters of a given uri and returns them

    Declaration
    public static Dictionary<string, string> GetUriParameters(Uri uri)
    Parameters
    Type Name Description
    Uri uri

    The uri which contains the parameters

    Returns
    Type Description
    Dictionary<String, String>

    Returns the parameters of the uri

    RewriteFileUriPath(Uri, String)

    Rewrites a given URI that points to a file so that it points to the location specified by the relative file path The relative file path starts at the uri's destination

    Declaration
    public static string RewriteFileUriPath(Uri uri, string relativeFilePath)
    Parameters
    Type Name Description
    Uri uri

    The uri which should be rewritten

    String relativeFilePath

    A relative file path starting at uri's location

    Returns
    Type Description
    String

    Returns an absolute Uri which points to the location of the relative file path

    WordArrayToSpaceEscapedString(String[])

    Declaration
    public static string WordArrayToSpaceEscapedString(string[] array)
    Parameters
    Type Name Description
    String[] array
    Returns
    Type Description
    String
    In This Article
    Back to top i5 Toolkit Documentation