14 references to Resources
dotnet-watch (12)
CommandLine\CommandLineOptions.cs (8)
46
public static Option<bool> NonInteractiveOption = new Option<bool>("--non-interactive") { Description =
Resources
.Help_NonInteractive, Arity = ArgumentArity.Zero };
51
var quietOption = new Option<bool>("--quiet", "-q") { Description =
Resources
.Help_Quiet, Arity = ArgumentArity.Zero };
52
var verboseOption = new Option<bool>("--verbose") { Description =
Resources
.Help_Verbose, Arity = ArgumentArity.Zero };
53
var listOption = new Option<bool>("--list") { Description =
Resources
.Help_List, Arity = ArgumentArity.Zero };
54
var noHotReloadOption = new Option<bool>("--no-hot-reload") { Description =
Resources
.Help_NoHotReload, Arity = ArgumentArity.Zero };
60
v.AddError(
Resources
.Error_QuietAndVerboseSpecified);
79
var rootCommand = new RootCommand(
Resources
.Help)
156
logger.LogWarning(
Resources
.Warning_ProjectAbbreviationDeprecated);
Microsoft.DotNet.Watch.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
Program.cs (3)
128
logger.LogError(
Resources
.Error_MultipleProjectsFound, projectPath);
134
logger.LogError(
Resources
.Error_NoProjectsFound, projectPath);
144
logger.LogError(
Resources
.Error_ProjectPath_NotFound, projectPath);
dotnet-watch.Tests (2)
CommandLine\CommandLineOptionsTests.cs (2)
417
$"[Error] {
Resources
.Error_QuietAndVerboseSpecified}");
424
expectedMessages: [$"[Warning] {
Resources
.Warning_ProjectAbbreviationDeprecated}"]);