16 references to ArgConstants
Templates.Tests (16)
EmptyWebTemplateTest.cs (6)
47await EmtpyTemplateCore(languageOverride: null, args: new[] { ArgConstants.NoHttps }); 54await EmtpyTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain }); 61await EmtpyTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain, ArgConstants.NoHttps }); 73await EmtpyTemplateCore("F#", args: new[] { ArgConstants.NoHttps }); 82var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
GrpcTemplateTest.cs (5)
50await GrpcTemplateCore(args: new[] { ArgConstants.PublishNativeAot }); 58await GrpcTemplateCore(args: new[] { ArgConstants.UseProgramMain }); 66await GrpcTemplateCore(args: new[] { ArgConstants.UseProgramMain, ArgConstants.PublishNativeAot }); 71var nativeAot = args?.Contains(ArgConstants.PublishNativeAot) ?? false;
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63var noHttps = args?.Contains(ArgConstants.NoHttps) ?? false;
WebApiNativeAotTemplateTest.cs (1)
44await WebApiNativeAotTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain });
WorkerTemplateTest.cs (3)
33[InlineData("C#", new[] { ArgConstants.UseProgramMain })] 46await WorkerTemplateCoreAsync(language, args: new[] { ArgConstants.PublishNativeAot }); 51var nativeAot = args?.Contains(ArgConstants.PublishNativeAot) ?? false;