-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGeneralOptions.cs
More file actions
25 lines (21 loc) · 807 Bytes
/
GeneralOptions.cs
File metadata and controls
25 lines (21 loc) · 807 Bytes
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
using Microsoft.VisualStudio.Shell;
using System.ComponentModel;
namespace BlazorCodeBehindUtil
{
public class GeneralOptions : DialogPage
{
[Category("Defaults")]
[DisplayName("Create .razor.cs by default")]
public bool CreateCS { get; set; } = true;
[Category("Defaults")]
[DisplayName("Create .razor.css by default")]
public bool CreateCSS { get; set; } = true;
[Category("Defaults")]
[DisplayName("Create .razor.js by default")]
public bool CreateJS { get; set; } = false;
[Category("Templates")]
[DisplayName("Use File Scoped Namespaces")]
[Description("If true, uses 'namespace Name;'. If false, uses curly braces.")]
public bool UseFileScopedNamespace { get; set; } = true;
}
}