Method | Description | |
---|---|---|
LayoutAttribute ( string layout ) : System |
Creates a LayoutAttribute.
|
|
OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void |
Captures the result executing to inject a default layout.
|
public LayoutAttribute ( string layout ) : System | ||
layout | string | The default layout to use. Do not specify the extension. |
return | System |
public OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void | ||
filterContext | System.Web.Mvc.ResultExecutingContext | |
return | void |