|
// <auto-generated>
using System.Reflection;
namespace Microsoft.AspNetCore.Http.Extensions.SharedFormMapping
{
internal static class FormDataResources { }
}
namespace Microsoft.AspNetCore.Components.Endpoints.FormMapping
{
internal static partial class FormDataResources
{
private static global::System.Resources.ResourceManager s_resourceManager;
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(Microsoft.AspNetCore.Http.Extensions.SharedFormMapping.FormDataResources)));
internal static global::System.Globalization.CultureInfo Culture { get; set; }
#if !NET20
[global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
#endif
internal static string GetResourceString(string resourceKey, string defaultValue = null) => ResourceManager.GetString(resourceKey, Culture);
private static string GetResourceString(string resourceKey, string[] formatterNames)
{
var value = GetResourceString(resourceKey);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
/// <summary>The value '{0}' is not a valid key for '{1}'.</summary>
internal static string @DictionaryUnparsableKey => GetResourceString("DictionaryUnparsableKey");
/// <summary>The value '{0}' is not a valid key for '{1}'.</summary>
internal static string FormatDictionaryUnparsableKey(object p0, object p1)
=> string.Format(Culture, GetResourceString("DictionaryUnparsableKey"), p0, p1);
/// <summary>The value '{0}' is not valid for '{1}'.</summary>
internal static string @EnumMappingError => GetResourceString("EnumMappingError");
/// <summary>The value '{0}' is not valid for '{1}'.</summary>
internal static string FormatEnumMappingError(object p0, object p1)
=> string.Format(Culture, GetResourceString("EnumMappingError"), p0, p1);
/// <summary>An error occurred while trying to map a value from form data. For more details, see the 'Error' property and the 'InnerException' property.</summary>
internal static string @MappingExceptionMessage => GetResourceString("MappingExceptionMessage");
/// <summary>The number of elements in the {0} exceeded the maximum number of '{1}' elements allowed.</summary>
internal static string @MaxCollectionSizeReached => GetResourceString("MaxCollectionSizeReached");
/// <summary>The number of elements in the {0} exceeded the maximum number of '{1}' elements allowed.</summary>
internal static string FormatMaxCollectionSizeReached(object p0, object p1)
=> string.Format(Culture, GetResourceString("MaxCollectionSizeReached"), p0, p1);
/// <summary>The value '{0}' is not valid for '{1}'.</summary>
internal static string @ParsableMappingError => GetResourceString("ParsableMappingError");
/// <summary>The value '{0}' is not valid for '{1}'.</summary>
internal static string FormatParsableMappingError(object p0, object p1)
=> string.Format(Culture, GetResourceString("ParsableMappingError"), p0, p1);
}
}
|