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