Skip to content

Commit 0b043d8

Browse files
RazorFileKind: Add doc comments
1 parent 90fb494 commit 0b043d8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorFileKind.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,25 @@
33

44
namespace Microsoft.AspNetCore.Razor.Language;
55

6+
/// <summary>
7+
/// The type of Razor file.
8+
/// </summary>
69
public enum RazorFileKind : byte
710
{
811
None = 0,
12+
13+
/// <summary>
14+
/// A file containing a Razor component, i.e. has a '.razor' file extension.
15+
/// </summary>
916
Component = 1,
17+
18+
/// <summary>
19+
/// A file containing a Razor component import, i.e. file name is '_Imports.razor'.
20+
/// </summary>
1021
ComponentImport = 2,
22+
23+
/// <summary>
24+
/// A file containing legacy Razor code, i.e. has a '.cshtml' file extension.
25+
/// </summary>
1126
Legacy = 3
1227
}

0 commit comments

Comments
 (0)