View Source
Class PreviewController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class PreviewController : Controller
Constructors
View Source
PreviewController(UmbracoFeatures, IGlobalSettings, IPublishedSnapshotService, IUmbracoContextAccessor, ILocalizationService)
Declaration
public PreviewController(UmbracoFeatures features, IGlobalSettings globalSettings, IPublishedSnapshotService publishedSnapshotService, IUmbracoContextAccessor umbracoContextAccessor, ILocalizationService localizationService)
Parameters
Methods
View Source
Application()
Returns the JavaScript file for preview
Declaration
public JavaScriptResult Application()
Returns
Type |
Description |
JavaScriptResult |
|
View Source
End(String)
Declaration
public ActionResult End(string redir = null)
Parameters
Type |
Name |
Description |
System.String |
redir |
|
Returns
Type |
Description |
ActionResult |
|
View Source
EnterPreview(Int32)
Declaration
public ActionResult EnterPreview(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
ActionResult |
|
View Source
Frame(Int32, String)
The endpoint that is loaded within the preview iframe
Declaration
public ActionResult Frame(int id, string culture)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
culture |
|
Returns
Type |
Description |
ActionResult |
|
View Source
Index(Nullable<Int32>)
Declaration
public ActionResult Index(int? id = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
id |
|
Returns
Type |
Description |
ActionResult |
|