Beispiel #1
0
        public void RenderPartialResource(string resourceName)
        {
            Contract.Requires(resourceName != null);

            Html.RenderPartial(ViewUtility.Localize(resourceName, Language));
        }
Beispiel #2
0
        public void RenderActionResource(string resourceName)
        {
            Contract.Requires(resourceName != null);

            Html.RenderAction(ViewUtility.Localize(resourceName, Language), LayoutViewModel.ControllerName);
        }