-
-
Notifications
You must be signed in to change notification settings - Fork 780
Expand file tree
/
Copy pathPagePipeline.cs
More file actions
66 lines (56 loc) · 2.18 KB
/
Copy pathPagePipeline.cs
File metadata and controls
66 lines (56 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Abstractions.Framework
{
/// <summary>
/// Represents the page pipeline configuration for rendering pages in the DNN platform.
/// </summary>
public static class PagePipeline
{
/// <summary>QueryString key.</summary>
public const string QueryStringKey = "pipeline";
/// <summary>QueryString WebForms.</summary>
public const string QueryStringWebForms = "webforms";
/// <summary>QueryString MVC.</summary>
public const string QueryStringMvc = "mvc";
/// <summary>Setting name for the page pipeline configuration.</summary>
public const string SettingName = "DefaultPagePipeline";
/// <summary>
/// Defines the pipeline types for rendering pages in a portal.
/// </summary>
public enum PortalRenderingPipeline
{
/// <summary>
/// Specifies that pages should be rendered using the WebForms pipeline.
/// </summary>
WebForms,
/// <summary>
/// Specifies that pages should be rendered using the MVC pipeline.
/// </summary>
MVC,
/// <summary>
/// Specifies that the pipeline type should be automatically determined.
/// </summary>
Auto,
}
/// <summary>
/// Defines the available pipeline types for rendering pages in the DNN platform.
/// </summary>
public enum PageRenderingPipeline
{
/// <summary>
/// Specifies that the pipeline type should be taken from the portal.
/// </summary>
Inherited = -1,
/// <summary>
/// Specifies that pages should be rendered using the WebForms pipeline.
/// </summary>
WebForms = 0,
/// <summary>
/// Specifies that pages should be rendered using the MVC pipeline.
/// </summary>
MVC = 1,
}
}
}