Exemplo n.º 1
0
 public static void SetLayout(this ViewStartPage @this, Layouts layout)
 {
     @this.Layout = GetPath(layout);
 }
Exemplo n.º 2
0
 public static void SetLayout(this ViewStartPage @this, string layoutPath)
 {
     @this.Layout = layoutPath;
 }
 public static void ScriptReference(this ViewStartPage page, params string[] resourceNames)
 {
     //Contract.Requires( page != null );
     page.Html.ScriptReference(resourceNames.Select(rn => page.Resource(rn)).ToArray());
 }