27 references to Resources
Microsoft.AspNetCore.Mvc.TagHelpers (22)
AnchorTagHelper.cs (2)
184
Resources
.FormatAnchorTagHelper_CannotOverrideHref(
210
Resources
.FormatCannotDetermineAttributeFor(Href, "<a>"),
artifacts\obj\Microsoft.AspNetCore.Mvc.TagHelpers\Release\net11.0\Microsoft.AspNetCore.Mvc.TagHelpers.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
Cache\DistributedCacheTagHelperFormatter.cs (1)
23
Resources
.FormatPropertyOfTypeCannotBeNull(
ComponentTagHelper.cs (2)
76
message:
Resources
.FormatInvalidEnumArgument(
93
throw new InvalidOperationException(
Resources
.FormatAttributeIsRequired(RenderModeName, TagHelperName));
FormActionTagHelper.cs (2)
198
Resources
.FormatFormActionTagHelper_CannotOverrideFormAction(
222
Resources
.FormatCannotDetermineAttributeFor(FormAction, '<' + output.TagName + '>'),
FormTagHelper.cs (2)
175
Resources
.FormatFormTagHelper_CannotOverrideAction(
229
Resources
.FormatCannotDetermineAttributeFor(HtmlActionAttributeName, "<form>"),
InputTagHelper.cs (4)
184
throw new InvalidOperationException(
Resources
.FormatTagHelpers_NoProvidedMetadata(
308
throw new InvalidOperationException(
Resources
.FormatInputTagHelper_InvalidStringResult(
317
throw new InvalidOperationException(
Resources
.FormatInputTagHelper_InvalidExpressionResult(
379
throw new InvalidOperationException(
Resources
.FormatInputTagHelper_ValueRequired(
PartialTagHelper.cs (3)
129
var errorMessage =
Resources
.FormatViewEngine_PartialViewNotFound(Name, locations);
134
errorMessage += Environment.NewLine +
Resources
.FormatViewEngine_FallbackViewNotFound(FallbackName, locations);
160
Resources
.FormatPartialTagHelper_InvalidModelAttributes(
SelectTagHelper.cs (1)
88
throw new InvalidOperationException(
Resources
.FormatTagHelpers_NoProvidedMetadata(
TagHelperOutputExtensions.cs (3)
71
Resources
.FormatTagHelperOutput_AttributeDoesNotExist(attributeName, nameof(TagHelperContext)),
153
throw new ArgumentException(
Resources
.ArgumentCannotContainHtmlSpace, nameof(classValue));
207
throw new ArgumentException(
Resources
.ArgumentCannotContainHtmlSpace, nameof(classValue));
ValidationSummaryTagHelper.cs (1)
69
message:
Resources
.FormatInvalidEnumArgument(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
InputTagHelperTest.cs (2)
121
var expected =
Resources
.FormatInputTagHelper_InvalidStringResult(
164
var expected =
Resources
.FormatInputTagHelper_InvalidExpressionResult(
PartialTagHelperTest.cs (2)
119
var expectedMessage =
Resources
.FormatPartialTagHelper_InvalidModelAttributes(typeof(PartialTagHelper).FullName, "for", "model");
141
var expectedMessage =
Resources
.FormatPartialTagHelper_InvalidModelAttributes(typeof(PartialTagHelper).FullName, "for", "model");
TagHelperOutputExtensionsTest.cs (1)
1043
var expected = new ArgumentException(
Resources
.ArgumentCannotContainHtmlSpace, nameof(classValue)).Message;