// namespace Microsoft.AspNetCore.Mvc.Razor { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore.Mvc.Razor.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Value cannot be null or empty. /// internal static string ArgumentCannotBeNullOrEmpty { get => GetString("ArgumentCannotBeNullOrEmpty"); } /// /// Value cannot be null or empty. /// internal static string FormatArgumentCannotBeNullOrEmpty() => GetString("ArgumentCannotBeNullOrEmpty"); /// /// One or more compilation failures occurred: /// internal static string CompilationFailed { get => GetString("CompilationFailed"); } /// /// One or more compilation failures occurred: /// internal static string FormatCompilationFailed() => GetString("CompilationFailed"); /// /// '{0}' cannot be invoked when a Layout page is set to be executed. /// internal static string FlushPointCannotBeInvoked { get => GetString("FlushPointCannotBeInvoked"); } /// /// '{0}' cannot be invoked when a Layout page is set to be executed. /// internal static string FormatFlushPointCannotBeInvoked(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("FlushPointCannotBeInvoked"), p0); /// /// The layout view '{0}' could not be located. The following locations were searched:{1} /// internal static string LayoutCannotBeLocated { get => GetString("LayoutCannotBeLocated"); } /// /// The layout view '{0}' could not be located. The following locations were searched:{1} /// internal static string FormatLayoutCannotBeLocated(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("LayoutCannotBeLocated"), p0, p1); /// /// Layout page '{0}' cannot be rendered after '{1}' has been invoked. /// internal static string LayoutCannotBeRendered { get => GetString("LayoutCannotBeRendered"); } /// /// Layout page '{0}' cannot be rendered after '{1}' has been invoked. /// internal static string FormatLayoutCannotBeRendered(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("LayoutCannotBeRendered"), p0, p1); /// /// There is no active writing scope to end. /// internal static string RazorPage_ThereIsNoActiveWritingScopeToEnd { get => GetString("RazorPage_ThereIsNoActiveWritingScopeToEnd"); } /// /// There is no active writing scope to end. /// internal static string FormatRazorPage_ThereIsNoActiveWritingScopeToEnd() => GetString("RazorPage_ThereIsNoActiveWritingScopeToEnd"); /// /// The {0} operation cannot be performed while inside a writing scope in '{1}'. /// internal static string RazorPage_CannotFlushWhileInAWritingScope { get => GetString("RazorPage_CannotFlushWhileInAWritingScope"); } /// /// The {0} operation cannot be performed while inside a writing scope in '{1}'. /// internal static string FormatRazorPage_CannotFlushWhileInAWritingScope(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("RazorPage_CannotFlushWhileInAWritingScope"), p0, p1); /// /// {0} invocation in '{1}' is invalid. {0} can only be called from a layout page. /// internal static string RazorPage_MethodCannotBeCalled { get => GetString("RazorPage_MethodCannotBeCalled"); } /// /// {0} invocation in '{1}' is invalid. {0} can only be called from a layout page. /// internal static string FormatRazorPage_MethodCannotBeCalled(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("RazorPage_MethodCannotBeCalled"), p0, p1); /// /// {0} has not been called for the page at '{1}'. To ignore call {2}(). /// internal static string RenderBodyNotCalled { get => GetString("RenderBodyNotCalled"); } /// /// {0} has not been called for the page at '{1}'. To ignore call {2}(). /// internal static string FormatRenderBodyNotCalled(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("RenderBodyNotCalled"), p0, p1, p2); /// /// Section '{0}' is already defined. /// internal static string SectionAlreadyDefined { get => GetString("SectionAlreadyDefined"); } /// /// Section '{0}' is already defined. /// internal static string FormatSectionAlreadyDefined(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("SectionAlreadyDefined"), p0); /// /// {0} invocation in '{1}' is invalid. The section '{2}' has already been rendered. /// internal static string SectionAlreadyRendered { get => GetString("SectionAlreadyRendered"); } /// /// {0} invocation in '{1}' is invalid. The section '{2}' has already been rendered. /// internal static string FormatSectionAlreadyRendered(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("SectionAlreadyRendered"), p0, p1, p2); /// /// The layout page '{0}' cannot find the section '{1}' in the content page '{2}'. /// internal static string SectionNotDefined { get => GetString("SectionNotDefined"); } /// /// The layout page '{0}' cannot find the section '{1}' in the content page '{2}'. /// internal static string FormatSectionNotDefined(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("SectionNotDefined"), p0, p1, p2); /// /// The following sections have been defined but have not been rendered by the page at '{0}': '{1}'. To ignore an unrendered section call {2}("sectionName"). /// internal static string SectionsNotRendered { get => GetString("SectionsNotRendered"); } /// /// The following sections have been defined but have not been rendered by the page at '{0}': '{1}'. To ignore an unrendered section call {2}("sectionName"). /// internal static string FormatSectionsNotRendered(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("SectionsNotRendered"), p0, p1, p2); /// /// '{0} must be set to access '{1}'. /// internal static string ViewContextMustBeSet { get => GetString("ViewContextMustBeSet"); } /// /// '{0} must be set to access '{1}'. /// internal static string FormatViewContextMustBeSet(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("ViewContextMustBeSet"), p0, p1); /// /// Generated Code /// internal static string GeneratedCodeFileName { get => GetString("GeneratedCodeFileName"); } /// /// Generated Code /// internal static string FormatGeneratedCodeFileName() => GetString("GeneratedCodeFileName"); /// /// Unable to perform '{0}' assignment. Tag helper property '{1}.{2}' must not be null. /// internal static string RazorPage_InvalidTagHelperIndexerAssignment { get => GetString("RazorPage_InvalidTagHelperIndexerAssignment"); } /// /// Unable to perform '{0}' assignment. Tag helper property '{1}.{2}' must not be null. /// internal static string FormatRazorPage_InvalidTagHelperIndexerAssignment(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("RazorPage_InvalidTagHelperIndexerAssignment"), p0, p1, p2); /// /// Unexpected return value from '{1}.{2}' for URL '{0}'. If the '{1}' service has been overridden, change '{2}' to replace only the '~/' prefix. Otherwise, add the following directive to the Razor page to disable URL resolution relative to the application's 'webroot' setting: /// /// @{3} "{4}, {5}" /// internal static string CouldNotResolveApplicationRelativeUrl_TagHelper { get => GetString("CouldNotResolveApplicationRelativeUrl_TagHelper"); } /// /// Unexpected return value from '{1}.{2}' for URL '{0}'. If the '{1}' service has been overridden, change '{2}' to replace only the '~/' prefix. Otherwise, add the following directive to the Razor page to disable URL resolution relative to the application's 'webroot' setting: /// /// @{3} "{4}, {5}" /// internal static string FormatCouldNotResolveApplicationRelativeUrl_TagHelper(object p0, object p1, object p2, object p3, object p4, object p5) => string.Format(CultureInfo.CurrentCulture, GetString("CouldNotResolveApplicationRelativeUrl_TagHelper"), p0, p1, p2, p3, p4, p5); /// /// A circular layout reference was detected when rendering '{0}'. The layout page '{1}' has already been rendered. /// internal static string LayoutHasCircularReference { get => GetString("LayoutHasCircularReference"); } /// /// A circular layout reference was detected when rendering '{0}'. The layout page '{1}' has already been rendered. /// internal static string FormatLayoutHasCircularReference(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("LayoutHasCircularReference"), p0, p1); /// /// One or more compilation references are missing. Ensure that your project is referencing '{0}' and the '{1}' property is not set to false. /// internal static string Compilation_DependencyContextIsNotSpecified { get => GetString("Compilation_DependencyContextIsNotSpecified"); } /// /// One or more compilation references are missing. Ensure that your project is referencing '{0}' and the '{1}' property is not set to false. /// internal static string FormatCompilation_DependencyContextIsNotSpecified(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("Compilation_DependencyContextIsNotSpecified"), p0, p1); /// /// '{0}' cannot be empty. These locations are required to locate a view for rendering. /// internal static string ViewLocationFormatsIsRequired { get => GetString("ViewLocationFormatsIsRequired"); } /// /// '{0}' cannot be empty. These locations are required to locate a view for rendering. /// internal static string FormatViewLocationFormatsIsRequired(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ViewLocationFormatsIsRequired"), p0); /// /// Nesting of TagHelper attribute writing scopes is not supported. /// internal static string RazorPage_NestingAttributeWritingScopesNotSupported { get => GetString("RazorPage_NestingAttributeWritingScopesNotSupported"); } /// /// Nesting of TagHelper attribute writing scopes is not supported. /// internal static string FormatRazorPage_NestingAttributeWritingScopesNotSupported() => GetString("RazorPage_NestingAttributeWritingScopesNotSupported"); /// /// '{0}.{1}' must not be empty. At least one '{2}' is required to locate a view for rendering. /// internal static string FileProvidersAreRequired { get => GetString("FileProvidersAreRequired"); } /// /// '{0}.{1}' must not be empty. At least one '{2}' is required to locate a view for rendering. /// internal static string FormatFileProvidersAreRequired(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("FileProvidersAreRequired"), p0, p1, p2); /// /// 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"); /// /// The property '{0}' of '{1}' must not be null. /// internal static string PropertyMustBeSet { get => GetString("PropertyMustBeSet"); } /// /// The property '{0}' of '{1}' must not be null. /// internal static string FormatPropertyMustBeSet(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("PropertyMustBeSet"), p0, p1); /// /// The following precompiled view paths differ only in case, which is not supported: /// internal static string RazorViewCompiler_ViewPathsDifferOnlyInCase { get => GetString("RazorViewCompiler_ViewPathsDifferOnlyInCase"); } /// /// The following precompiled view paths differ only in case, which is not supported: /// internal static string FormatRazorViewCompiler_ViewPathsDifferOnlyInCase() => GetString("RazorViewCompiler_ViewPathsDifferOnlyInCase"); /// /// The debug type specified in the dependency context could be parsed. The debug type value '{0}' is not supported. /// internal static string UnsupportedDebugInformationFormat { get => GetString("UnsupportedDebugInformationFormat"); } /// /// The debug type specified in the dependency context could be parsed. The debug type value '{0}' is not supported. /// internal static string FormatUnsupportedDebugInformationFormat(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("UnsupportedDebugInformationFormat"), 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; } } }