// namespace Microsoft.AspNetCore.Razor.Language { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore.Razor.Language.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Value cannot be null or an empty string. /// internal static string ArgumentCannotBeNullOrEmpty { get => GetString("ArgumentCannotBeNullOrEmpty"); } /// /// Value cannot be null or an empty string. /// internal static string FormatArgumentCannotBeNullOrEmpty() => GetString("ArgumentCannotBeNullOrEmpty"); /// /// The '{0}' feature requires a '{1}' provided by the '{2}'. /// internal static string FeatureDependencyMissing { get => GetString("FeatureDependencyMissing"); } /// /// The '{0}' feature requires a '{1}' provided by the '{2}'. /// internal static string FormatFeatureDependencyMissing(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("FeatureDependencyMissing"), p0, p1, p2); /// /// Invalid tag helper directive look up text '{0}'. The correct look up text format is: "typeName, assemblyName". /// internal static string InvalidTagHelperLookupText { get => GetString("InvalidTagHelperLookupText"); } /// /// Invalid tag helper directive look up text '{0}'. The correct look up text format is: "typeName, assemblyName". /// internal static string FormatInvalidTagHelperLookupText(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidTagHelperLookupText"), p0); /// /// Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'. /// internal static string InvalidTagHelperPrefixValue { get => GetString("InvalidTagHelperPrefixValue"); } /// /// Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'. /// internal static string FormatInvalidTagHelperPrefixValue(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidTagHelperPrefixValue"), p0, p1, p2); /// /// The '{0}' operation is not valid when the builder is empty. /// internal static string IRBuilder_PopInvalid { get => GetString("IRBuilder_PopInvalid"); } /// /// The '{0}' operation is not valid when the builder is empty. /// internal static string FormatIRBuilder_PopInvalid(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("IRBuilder_PopInvalid"), p0); /// /// The specified encoding '{0}' does not match the content's encoding '{1}'. /// internal static string MismatchedContentEncoding { get => GetString("MismatchedContentEncoding"); } /// /// The specified encoding '{0}' does not match the content's encoding '{1}'. /// internal static string FormatMismatchedContentEncoding(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("MismatchedContentEncoding"), p0, p1); /// /// The '{0}' phase requires a '{1}' provided by the '{2}'. /// internal static string PhaseDependencyMissing { get => GetString("PhaseDependencyMissing"); } /// /// The '{0}' phase requires a '{1}' provided by the '{2}'. /// internal static string FormatPhaseDependencyMissing(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("PhaseDependencyMissing"), p0, p1, p2); /// /// The phase must be initialized by setting the '{0}' property. /// internal static string PhaseMustBeInitialized { get => GetString("PhaseMustBeInitialized"); } /// /// The phase must be initialized by setting the '{0}' property. /// internal static string FormatPhaseMustBeInitialized(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("PhaseMustBeInitialized"), p0); /// /// Tag helper directive assembly name cannot be null or empty. /// internal static string TagHelperAssemblyNameCannotBeEmptyOrNull { get => GetString("TagHelperAssemblyNameCannotBeEmptyOrNull"); } /// /// Tag helper directive assembly name cannot be null or empty. /// internal static string FormatTagHelperAssemblyNameCannotBeEmptyOrNull() => GetString("TagHelperAssemblyNameCannotBeEmptyOrNull"); /// /// Path must begin with a forward slash '/'. /// internal static string RazorProject_PathMustStartWithForwardSlash { get => GetString("RazorProject_PathMustStartWithForwardSlash"); } /// /// Path must begin with a forward slash '/'. /// internal static string FormatRazorProject_PathMustStartWithForwardSlash() => GetString("RazorProject_PathMustStartWithForwardSlash"); /// /// A non-optional directive token cannot follow an optional directive token. /// internal static string DirectiveDescriptor_InvalidNonOptionalToken { get => GetString("DirectiveDescriptor_InvalidNonOptionalToken"); } /// /// A non-optional directive token cannot follow an optional directive token. /// internal static string FormatDirectiveDescriptor_InvalidNonOptionalToken() => GetString("DirectiveDescriptor_InvalidNonOptionalToken"); /// /// The document of kind '{0}' does not have a '{1}'. The document classifier must set a value for '{2}'. /// internal static string DocumentMissingTarget { get => GetString("DocumentMissingTarget"); } /// /// The document of kind '{0}' does not have a '{1}'. The document classifier must set a value for '{2}'. /// internal static string FormatDocumentMissingTarget(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("DocumentMissingTarget"), p0, p1, p2); /// /// The item '{0}' could not be found. /// internal static string RazorTemplateEngine_ItemCouldNotBeFound { get => GetString("RazorTemplateEngine_ItemCouldNotBeFound"); } /// /// The item '{0}' could not be found. /// internal static string FormatRazorTemplateEngine_ItemCouldNotBeFound(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("RazorTemplateEngine_ItemCouldNotBeFound"), p0); /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with name '{2}' because the name contains a '{3}' character. /// internal static string InvalidBoundAttributeName { get => GetString("InvalidBoundAttributeName"); } /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with name '{2}' because the name contains a '{3}' character. /// internal static string FormatInvalidBoundAttributeName(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidBoundAttributeName"), p0, p1, p2, p3); /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with name '{2}' because the name starts with '{3}'. /// internal static string InvalidBoundAttributeNameStartsWith { get => GetString("InvalidBoundAttributeNameStartsWith"); } /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with name '{2}' because the name starts with '{3}'. /// internal static string FormatInvalidBoundAttributeNameStartsWith(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidBoundAttributeNameStartsWith"), p0, p1, p2, p3); /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a null or empty name. /// internal static string InvalidBoundAttributeNullOrWhitespace { get => GetString("InvalidBoundAttributeNullOrWhitespace"); } /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a null or empty name. /// internal static string FormatInvalidBoundAttributeNullOrWhitespace(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidBoundAttributeNullOrWhitespace"), p0, p1); /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with prefix '{2}' because the prefix contains a '{3}' character. /// internal static string InvalidBoundAttributePrefix { get => GetString("InvalidBoundAttributePrefix"); } /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with prefix '{2}' because the prefix contains a '{3}' character. /// internal static string FormatInvalidBoundAttributePrefix(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidBoundAttributePrefix"), p0, p1, p2, p3); /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with prefix '{2}' because the prefix starts with '{3}'. /// internal static string InvalidBoundAttributePrefixStartsWith { get => GetString("InvalidBoundAttributePrefixStartsWith"); } /// /// Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with prefix '{2}' because the prefix starts with '{3}'. /// internal static string FormatInvalidBoundAttributePrefixStartsWith(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidBoundAttributePrefixStartsWith"), p0, p1, p2, p3); /// /// Invalid restricted child '{0}' for tag helper '{1}'. Tag helpers cannot restrict child elements that contain a '{2}' character. /// internal static string InvalidRestrictedChild { get => GetString("InvalidRestrictedChild"); } /// /// Invalid restricted child '{0}' for tag helper '{1}'. Tag helpers cannot restrict child elements that contain a '{2}' character. /// internal static string FormatInvalidRestrictedChild(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidRestrictedChild"), p0, p1, p2); /// /// Invalid restricted child for tag helper '{0}'. Name cannot be null or whitespace. /// internal static string InvalidRestrictedChildNullOrWhitespace { get => GetString("InvalidRestrictedChildNullOrWhitespace"); } /// /// Invalid restricted child for tag helper '{0}'. Name cannot be null or whitespace. /// internal static string FormatInvalidRestrictedChildNullOrWhitespace(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidRestrictedChildNullOrWhitespace"), p0); /// /// Tag helpers cannot target attribute name '{0}' because it contains a '{1}' character. /// internal static string InvalidTargetedAttributeName { get => GetString("InvalidTargetedAttributeName"); } /// /// Tag helpers cannot target attribute name '{0}' because it contains a '{1}' character. /// internal static string FormatInvalidTargetedAttributeName(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidTargetedAttributeName"), p0, p1); /// /// Targeted attribute name cannot be null or whitespace. /// internal static string InvalidTargetedAttributeNameNullOrWhitespace { get => GetString("InvalidTargetedAttributeNameNullOrWhitespace"); } /// /// Targeted attribute name cannot be null or whitespace. /// internal static string FormatInvalidTargetedAttributeNameNullOrWhitespace() => GetString("InvalidTargetedAttributeNameNullOrWhitespace"); /// /// Tag helpers cannot target parent tag name '{0}' because it contains a '{1}' character. /// internal static string InvalidTargetedParentTagName { get => GetString("InvalidTargetedParentTagName"); } /// /// Tag helpers cannot target parent tag name '{0}' because it contains a '{1}' character. /// internal static string FormatInvalidTargetedParentTagName(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidTargetedParentTagName"), p0, p1); /// /// Targeted parent tag name cannot be null or whitespace. /// internal static string InvalidTargetedParentTagNameNullOrWhitespace { get => GetString("InvalidTargetedParentTagNameNullOrWhitespace"); } /// /// Targeted parent tag name cannot be null or whitespace. /// internal static string FormatInvalidTargetedParentTagNameNullOrWhitespace() => GetString("InvalidTargetedParentTagNameNullOrWhitespace"); /// /// Tag helpers cannot target tag name '{0}' because it contains a '{1}' character. /// internal static string InvalidTargetedTagName { get => GetString("InvalidTargetedTagName"); } /// /// Tag helpers cannot target tag name '{0}' because it contains a '{1}' character. /// internal static string FormatInvalidTargetedTagName(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidTargetedTagName"), p0, p1); /// /// Targeted tag name cannot be null or whitespace. /// internal static string InvalidTargetedTagNameNullOrWhitespace { get => GetString("InvalidTargetedTagNameNullOrWhitespace"); } /// /// Targeted tag name cannot be null or whitespace. /// internal static string FormatInvalidTargetedTagNameNullOrWhitespace() => GetString("InvalidTargetedTagNameNullOrWhitespace"); /// /// The node '{0}' is not the owner of change '{1}'. /// internal static string InvalidOperation_SpanIsNotChangeOwner { get => GetString("InvalidOperation_SpanIsNotChangeOwner"); } /// /// The node '{0}' is not the owner of change '{1}'. /// internal static string FormatInvalidOperation_SpanIsNotChangeOwner(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("InvalidOperation_SpanIsNotChangeOwner"), p0, p1); /// /// Invalid directive name '{0}'. Directives must have a non-empty name that consists only of letters. /// internal static string DirectiveDescriptor_InvalidDirectiveName { get => GetString("DirectiveDescriptor_InvalidDirectiveName"); } /// /// Invalid directive name '{0}'. Directives must have a non-empty name that consists only of letters. /// internal static string FormatDirectiveDescriptor_InvalidDirectiveName(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveDescriptor_InvalidDirectiveName"), p0); /// /// The feature must be initialized by setting the '{0}' property. /// internal static string FeatureMustBeInitialized { get => GetString("FeatureMustBeInitialized"); } /// /// The feature must be initialized by setting the '{0}' property. /// internal static string FormatFeatureMustBeInitialized(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("FeatureMustBeInitialized"), p0); /// /// The document type '{0}' does not support the extension '{1}'. /// internal static string Diagnostic_CodeTarget_UnsupportedExtension { get => GetString("Diagnostic_CodeTarget_UnsupportedExtension"); } /// /// The document type '{0}' does not support the extension '{1}'. /// internal static string FormatDiagnostic_CodeTarget_UnsupportedExtension(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("Diagnostic_CodeTarget_UnsupportedExtension"), p0, p1); /// /// The '{0}` directive must appear at the start of the line. /// internal static string DirectiveMustAppearAtStartOfLine { get => GetString("DirectiveMustAppearAtStartOfLine"); } /// /// The '{0}` directive must appear at the start of the line. /// internal static string FormatDirectiveMustAppearAtStartOfLine(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveMustAppearAtStartOfLine"), p0); private static string GetString(string name, params string[] formatterNames) { var value = _resourceManager.GetString(name); System.Diagnostics.Debug.Assert(value != null); if (formatterNames != null) { for (var i = 0; i < formatterNames.Length; i++) { value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}"); } } return value; } } }