|
// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Components.Endpoints.FormMapping
{
partial class FormDataMapper
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotResolveConverterCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "CannotResolveConverter"), "Cannot resolve converter for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Cannot resolve converter for type '{Type}'.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CannotResolveConverter(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type type, global::System.Exception? ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__CannotResolveConverterCallback(logger, type, ex);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata
{
partial class FormDataMetadataFactory
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __StartResolveMetadataGraphCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "StartResolveMetadataGraph"), "Begin resolve metadata graph for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Begin resolve metadata graph for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void StartResolveMetadataGraph(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__StartResolveMetadataGraphCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __EndResolveMetadataGraphCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "EndResolveMetadataGraph"), "End resolve metadata graph for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> End resolve metadata graph for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void EndResolveMetadataGraph(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__EndResolveMetadataGraphCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "Metadata"), "Cached metadata found for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Cached metadata found for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void MetadataFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__MetadataFoundCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoMetadataFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "NoMetadataFound"), "No cached metadata graph for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> No cached metadata graph for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NoMetadataFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NoMetadataFoundCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __RecursiveTypeFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "RecursiveTypeFound"), "Recursive type '{Type}' found in the resolution graph '{Chain}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Recursive type '{Type}' found in the resolution graph '{Chain}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RecursiveTypeFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type, string chain)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RecursiveTypeFoundCallback(logger, type, chain, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __PrimitiveTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "PrimitiveType"), "'{Type}' identified as primitive.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> '{Type}' identified as primitive.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void PrimitiveType(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__PrimitiveTypeCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __DictionaryTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "DictionaryType"), "'{Type}' identified as dictionary.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> '{Type}' identified as dictionary.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void DictionaryType(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__DictionaryTypeCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CollectionTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "CollectionType"), "'{Type}' identified as collection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> '{Type}' identified as collection.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CollectionType(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__CollectionTypeCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __ObjectTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "ObjectType"), "'{Type}' identified as object.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> '{Type}' identified as object.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ObjectType(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ObjectTypeCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __ConstructorFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "ConstructorFound"), "Constructor found for type '{Type}' with parameters '{Parameters}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Constructor found for type '{Type}' with parameters '{Parameters}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConstructorFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type, string parameters)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConstructorFoundCallback(logger, type, parameters, null);
}
}
/// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __ConstructorParameterStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly global::System.Type _type;
private readonly string _name;
private readonly global::System.Type _parameterType;
public __ConstructorParameterStruct(global::System.Type type, string name, global::System.Type parameterType)
{
this._type = type;
this._name = name;
this._parameterType = parameterType;
}
public override string ToString()
{
var Name = this._name;
var ParameterType = this._parameterType;
var Type = this._type;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Constructor parameter '{Name}' of type '{ParameterType}' found for type '{Type}'.");
}
public static readonly global::System.Func<__ConstructorParameterStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
public int Count => 4;
public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
{
get => index switch
{
0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Type", this._type),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Name", this._name),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("ParameterType", this._parameterType),
3 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Constructor parameter '{Name}' of type '{ParameterType}' found for type '{Type}'."),
_ => throw new global::System.IndexOutOfRangeException(), // return the same exception LoggerMessage.Define returns in this case
};
}
public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
{
for (int i = 0; i < 4; i++)
{
yield return this[i];
}
}
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
}
/// <summary>
/// <para><b>Message:</b> Constructor parameter '{Name}' of type '{ParameterType}' found for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConstructorParameter(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type, string name, global::System.Type parameterType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Debug,
new global::Microsoft.Extensions.Logging.EventId(11, "ConstructorParameter"),
new __ConstructorParameterStruct(type, name, parameterType),
null,
__ConstructorParameterStruct.Format);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __CandidatePropertyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "CandidateProperty"), "Candidate property '{Name}' of type '{PropertyType}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Candidate property '{Name}' of type '{PropertyType}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CandidateProperty(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string name, global::System.Type propertyType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__CandidatePropertyCallback(logger, name, propertyType, null);
}
}
/// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __MatchingConstructorParameterFoundStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly string _constructorParameterName;
private readonly string _propertyName;
public __MatchingConstructorParameterFoundStruct(string constructorParameterName, string propertyName)
{
this._constructorParameterName = constructorParameterName;
this._propertyName = propertyName;
}
public override string ToString()
{
var PropertyName = this._propertyName;
var ConstructorParameterName = this._constructorParameterName;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Candidate property {PropertyName} has a matching constructor parameter '{ConstructorParameterName}'.");
}
public static readonly global::System.Func<__MatchingConstructorParameterFoundStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
public int Count => 3;
public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
{
get => index switch
{
0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("ConstructorParameterName", this._constructorParameterName),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("PropertyName", this._propertyName),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Candidate property {PropertyName} has a matching constructor parameter '{ConstructorParameterName}'."),
_ => throw new global::System.IndexOutOfRangeException(), // return the same exception LoggerMessage.Define returns in this case
};
}
public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
{
for (int i = 0; i < 3; i++)
{
yield return this[i];
}
}
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
}
/// <summary>
/// <para><b>Message:</b> Candidate property {PropertyName} has a matching constructor parameter '{ConstructorParameterName}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void MatchingConstructorParameterFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string constructorParameterName, string propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Debug,
new global::Microsoft.Extensions.Logging.EventId(13, "MatchingConstructorParameterFound"),
new __MatchingConstructorParameterFoundStruct(constructorParameterName, propertyName),
null,
__MatchingConstructorParameterFoundStruct.Format);
}
}
/// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __CustomParameterNameMetadataStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly string _customName;
private readonly string _propertyName;
public __CustomParameterNameMetadataStruct(string customName, string propertyName)
{
this._customName = customName;
this._propertyName = propertyName;
}
public override string ToString()
{
var PropertyName = this._propertyName;
var CustomName = this._customName;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Candidate property or constructor parameter {PropertyName} defines a custom name '{CustomName}'.");
}
public static readonly global::System.Func<__CustomParameterNameMetadataStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
public int Count => 3;
public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
{
get => index switch
{
0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("CustomName", this._customName),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("PropertyName", this._propertyName),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Candidate property or constructor parameter {PropertyName} defines a custom name '{CustomName}'."),
_ => throw new global::System.IndexOutOfRangeException(), // return the same exception LoggerMessage.Define returns in this case
};
}
public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
{
for (int i = 0; i < 3; i++)
{
yield return this[i];
}
}
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
}
/// <summary>
/// <para><b>Message:</b> Candidate property or constructor parameter {PropertyName} defines a custom name '{CustomName}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CustomParameterNameMetadata(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string customName, string propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Debug,
new global::Microsoft.Extensions.Logging.EventId(14, "CustomParameterNameMetadata"),
new __CustomParameterNameMetadataStruct(customName, propertyName),
null,
__CustomParameterNameMetadataStruct.Format);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __IgnoredPropertyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(15, "IgnoredProperty"), "Candidate property {Name} will not be mapped. It has been explicitly ignored.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Candidate property {Name} will not be mapped. It has been explicitly ignored.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void IgnoredProperty(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string name)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__IgnoredPropertyCallback(logger, name, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NonPublicSetterCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(16, "NonPublicSetter"), "Candidate property {Name} will not be mapped. It has no public setter.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Candidate property {Name} will not be mapped. It has no public setter.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NonPublicSetter(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string name)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NonPublicSetterCallback(logger, name, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PropertyRequiredCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(17, "PropertyRequired"), "Candidate property {Name} is marked as required.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Candidate property {Name} is marked as required.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void PropertyRequired(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, string name)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__PropertyRequiredCallback(logger, name, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataComputedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(18, "MetadataComputed"), "Metadata created for {Type}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Metadata created for {Type}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void MetadataComputed(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__MetadataComputedCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __GenericTypeDefinitionNotSupportedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(19, "GenericTypeDefinitionNotSupported"), "Can not map type generic type definition '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Can not map type generic type definition '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void GenericTypeDefinitionNotSupported(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__GenericTypeDefinitionNotSupportedCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MultiplePublicConstructorsFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(20, "MultiplePublicConstructorsFound"), "Unable to select a constructor. Multiple public constructors found for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Unable to select a constructor. Multiple public constructors found for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void MultiplePublicConstructorsFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__MultiplePublicConstructorsFoundCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __InterfacesNotSupportedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(21, "InterfacesNotSupported"), "Can not map interface type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Can not map interface type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void InterfacesNotSupported(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__InterfacesNotSupportedCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __AbstractClassesNotSupportedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(22, "AbstractClassesNotSupported"), "Can not map abstract type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Can not map abstract type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void AbstractClassesNotSupported(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__AbstractClassesNotSupportedCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoPublicConstructorFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(23, "NoPublicConstructorFound"), "Unable to select a constructor. No public constructors found for type '{Type}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Unable to select a constructor. No public constructors found for type '{Type}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NoPublicConstructorFound(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NoPublicConstructorFoundCallback(logger, type, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __ConstructorParameterTypeNotSupportedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type, string, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(24, "ConstructorParameterTypeNotSupported"), "Can not map type '{Type}'. Constructor parameter {Name} of type {ParameterType} is not supported.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Can not map type '{Type}'. Constructor parameter {Name} of type {ParameterType} is not supported.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConstructorParameterTypeNotSupported(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type, string name, global::System.Type parameterType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConstructorParameterTypeNotSupportedCallback(logger, type, name, parameterType, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __PropertyTypeNotSupportedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type, string, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(25, "PropertyTypeNotSupported"), "Can not map type '{Type}'. Property {Name} of type {PropertyType} is not supported.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Can not map type '{Type}'. Property {Name} of type {PropertyType} is not supported.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void PropertyTypeNotSupported(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.FormMapping.Metadata.FormDataMetadataFactory> logger, global::System.Type type, string name, global::System.Type propertyType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__PropertyTypeNotSupportedCallback(logger, type, name, propertyType, null);
}
}
}
}
}
namespace Microsoft.AspNetCore.Http
{
partial class RequestDelegateFactory
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestBodyIOExceptionCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "RequestBodyIOException"), "Reading the request body failed with an IOException.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Reading the request body failed with an IOException.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void RequestBodyIOException(global::Microsoft.Extensions.Logging.ILogger logger, global::System.IO.IOException exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestBodyIOExceptionCallback(logger, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidJsonRequestBodyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "InvalidJsonRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as JSON.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to read parameter "{ParameterType} {ParameterName}" from the request body as JSON.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void InvalidJsonRequestBody(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__InvalidJsonRequestBodyCallback(logger, parameterType, parameterName, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __ParameterBindingFailedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "ParameterBindingFailed"), "Failed to bind parameter \"{ParameterType} {ParameterName}\" from \"{SourceValue}\".", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to bind parameter "{ParameterType} {ParameterName}" from "{SourceValue}".</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void ParameterBindingFailed(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, string sourceValue)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ParameterBindingFailedCallback(logger, parameterType, parameterName, sourceValue, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __RequiredParameterNotProvidedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "RequiredParameterNotProvided"), "Required parameter \"{ParameterType} {ParameterName}\" was not provided from {Source}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Required parameter "{ParameterType} {ParameterName}" was not provided from {Source}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void RequiredParameterNotProvided(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, string source)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequiredParameterNotProvidedCallback(logger, parameterType, parameterName, source, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ImplicitBodyNotProvidedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ImplicitBodyNotProvided"), "Implicit body inferred for parameter \"{ParameterName}\" but no body was provided. Did you mean to use a Service instead?", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Implicit body inferred for parameter "{ParameterName}" but no body was provided. Did you mean to use a Service instead?</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void ImplicitBodyNotProvided(global::Microsoft.Extensions.Logging.ILogger logger, string parameterName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ImplicitBodyNotProvidedCallback(logger, parameterName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedJsonContentTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "UnexpectedContentType"), "Expected a supported JSON media type but got \"{ContentType}\".", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Expected a supported JSON media type but got "{ContentType}".</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void UnexpectedJsonContentType(global::Microsoft.Extensions.Logging.ILogger logger, string contentType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__UnexpectedJsonContentTypeCallback(logger, contentType, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedNonFormContentTypeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "UnexpectedNonFormContentType"), "Expected a supported form media type but got \"{ContentType}\".", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Expected a supported form media type but got "{ContentType}".</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void UnexpectedNonFormContentType(global::Microsoft.Extensions.Logging.ILogger logger, string contentType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__UnexpectedNonFormContentTypeCallback(logger, contentType, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidFormRequestBodyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "InvalidFormRequestBody"), "Failed to read parameter \"{ParameterType} {ParameterName}\" from the request body as form.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to read parameter "{ParameterType} {ParameterName}" from the request body as form.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void InvalidFormRequestBody(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__InvalidFormRequestBodyCallback(logger, parameterType, parameterName, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidAntiforgeryTokenCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "InvalidAntiforgeryToken"), "Invalid anti-forgery token found when reading parameter \"{ParameterType} {ParameterName}\" from the request body as form.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Invalid anti-forgery token found when reading parameter "{ParameterType} {ParameterName}" from the request body as form.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void InvalidAntiforgeryToken(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__InvalidAntiforgeryTokenCallback(logger, parameterType, parameterName, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FormDataMappingFailedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "FormDataMappingFailed"), "Failed to bind parameter \"{ParameterType} {ParameterName}\" from the request body as form.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to bind parameter "{ParameterType} {ParameterName}" from the request body as form.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void FormDataMappingFailed(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FormDataMappingFailedCallback(logger, parameterType, parameterName, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __UnexpectedRequestWithoutBodyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "UnexpectedRequestWithoutBody"), "Unexpected request without body, failed to bind parameter \"{ParameterType} {ParameterName}\" from the request body as form.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Unexpected request without body, failed to bind parameter "{ParameterType} {ParameterName}" from the request body as form.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void UnexpectedRequestWithoutBody(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__UnexpectedRequestWithoutBodyCallback(logger, parameterType, parameterName, null);
}
}
}
}
} |