Web API Edition | ComponentOne
C1.Web.Api Namespace / C1ApiController Class / Location Method / Location<T1,T2>(Expression<Func<Func<T1,T2,IHttpActionResult>>>,IDictionary<String,Object>) Method
The expression which returns the function of calling the action method.
The dictionary that contains the parameters for the action.

In This Topic
    Location<T1,T2>(Expression<Func<Func<T1,T2,IHttpActionResult>>>,IDictionary<String,Object>) Method
    In This Topic
    Returns an absolute url for the specified action.
    Syntax

    Parameters

    expression
    The expression which returns the function of calling the action method.
    values
    The dictionary that contains the parameters for the action.

    Type Parameters

    T1
    T2

    Return Value

    The absolute url for the specified action.
    Example
    Location<string, string>(()=>this.Action);
    See Also