[]
Returns an absolute url for the specified action.
protected string Location(Expression<Func<Func<IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Location(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location<T1>(Expression<Func<Func<T1, IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<T1, IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Name | Description |
---|---|
T1 |
Location<string>(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location<T1, T2>(Expression<Func<Func<T1, T2, IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<T1, T2, IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Name | Description |
---|---|
T1 | |
T2 |
Location<string, string>(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location<T1, T2, T3>(Expression<Func<Func<T1, T2, T3, IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<T1, T2, T3, IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Name | Description |
---|---|
T1 | |
T2 | |
T3 |
Location<string, string, string>(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location<T1, T2, T3, T4>(Expression<Func<Func<T1, T2, T3, T4, IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<T1, T2, T3, T4, IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Name | Description |
---|---|
T1 | |
T2 | |
T3 | |
T4 |
Location<string, string, string, string>(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location<T1, T2, T3, T4, T5>(Expression<Func<Func<T1, T2, T3, T4, T5, IHttpActionResult>>> expression, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
Expression<Func<Func<T1, T2, T3, T4, T5, IHttpActionResult>>> | expression | The expression which returns the function of calling the action method. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Name | Description |
---|---|
T1 | |
T2 | |
T3 | |
T4 | |
T5 |
Location<string, string, string, string, string>(()=>this.Action);
Returns an absolute url for the specified action.
protected string Location(string actionName, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
string | actionName | The name of the action. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |
Returns an absolute url for the specified action.
protected string Location(MethodInfo methodInfo, IDictionary<string, object> values = null)
Type | Name | Description |
---|---|---|
MethodInfo | methodInfo | The method for the action. |
IDictionary<string, object> | values | The dictionary that contains the parameters for the action. |
Type | Description |
---|---|
string | The absolute url for the specified action. |