forked from ahzf/CsQuery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenumViewEngineOptions.cs
More file actions
53 lines (44 loc) · 1.57 KB
/
Copy pathenumViewEngineOptions.cs
File metadata and controls
53 lines (44 loc) · 1.57 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CsQuery.Mvc
{
/// <summary>
/// Flags that control operation of the CsQueryViewEngine
/// </summary>
[Flags]
public enum ViewEngineOptions
{
/// <summary>
/// Enables script manager functionality to resolve dependencies.
/// </summary>
EnableScriptManager=1,
/// <summary>
/// When set, all scripts (not just those created with @Html.Script) are resolved.
/// </summary>
ProcessAllScripts=2,
/// <summary>
/// When set, scripts and dependencies that cannot be loaded will not cause an exception
/// </summary>
IgnoreMissingScripts=4,
/// <summary>
/// When false, scripts will not be minified
/// </summary>
NoMinifyScripts=8,
/// <summary>
/// When set, caching is disabled. This results in the bundles being recreated on each page load, and scripts
/// being re-analyzed for dependencies. (This is useful for debugging; otherwise, changes to javascript files
/// would not be refelected until the application is restarted)
/// </summary>
NoCache=16,
/// <summary>
/// When set, scripts are resolved, but not bundled.
/// </summary>
NoBundle = 32,
/// <summary>
/// When true, the Visual Studio format XML <reference ... > tags will be resolved by the script manager as "using"
/// </summary>
ResolveXmlReferences = 64
}
}