Method | Description | |
---|---|---|
PartialWithScope ( this html, String partialViewName ) : System.Web.Mvc.MvcHtmlString |
Renders the specified partial view as an HTML-encoded String with specific localization scope.
|
|
Translate ( this html, String key ) : String |
Gets global resource for key specified using default scope ({AreaName}.Views.{ControllerName}.{ViewName}).
|
|
Translate ( this httpContext, String key, IEnumerable |
Gets global resource for key and scope specified.
|
|
Translate ( this httpContext, String key, String scope ) : String |
Gets global resource for key and scope specified.
|
Method | Description | |
---|---|---|
DefaultTranslationMissing ( String resourceKey, String scope, String culture ) : String |
public static PartialWithScope ( this html, String partialViewName ) : System.Web.Mvc.MvcHtmlString | ||
html | this | The HTML helper instance that this method extends. |
partialViewName | String | The name of the partial view to render. |
return | System.Web.Mvc.MvcHtmlString |
public static Translate ( this html, String key ) : String | ||
html | this | The HTML helper instance that this method extends. |
key | String | The resource key. |
return | String |
public static Translate ( this httpContext, String key, IEnumerable |
||
httpContext | this | The http context instance that this method extends. |
key | String | The resource key. |
scope | IEnumerable |
The resource scope. |
return | String |
public static Translate ( this httpContext, String key, String scope ) : String | ||
httpContext | this | The http context instance that this method extends. |
key | String | The resource key. |
scope | String | The resource scope. |
return | String |