forked from aspnet/AspNetWebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEditorHints.cs
More file actions
30 lines (27 loc) · 1.17 KB
/
EditorHints.cs
File metadata and controls
30 lines (27 loc) · 1.17 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
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace System.Web.Razor.Editor
{
/// <summary>
/// Used within <see cref="F:SpanEditHandler.EditorHints"/>.
/// </summary>
[Flags]
public enum EditorHints
{
/// <summary>
/// The default (Markup or Code) editor behavior for Statement completion should be used.
/// Editors can always use the default behavior, even if the span is labeled with a different CompletionType.
/// </summary>
None = 0, // 0000 0000
/// <summary>
/// Indicates that Virtual Path completion should be used for this span if the editor supports it.
/// Editors need not support this mode of completion, and will use the default (<see cref="F:EditorHints.None"/>) behavior
/// if they do not support it.
/// </summary>
VirtualPath = 1, // 0000 0001
/// <summary>
/// Indicates that this span's content contains the path to the layout page for this document.
/// </summary>
LayoutPage = 2, // 0000 0010
}
}