File: _generated\0\LoggerMessage.g.cs
Web Access
Project: src\aspnetcore\src\Components\WebAssembly\WebAssembly\src\Microsoft.AspNetCore.Components.WebAssembly.csproj (Microsoft.AspNetCore.Components.WebAssembly)
// <auto-generated/>
#nullable enable
 
namespace Microsoft.AspNetCore.Components
{
    partial class RenderFragmentSerializer
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __EventHandlerSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "EventHandlerSkipped"), "Event handler '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Delegates cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> Event handler &apos;{AttributeName}&apos; inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. Delegates cannot cross render mode boundaries.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void EventHandlerSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? attributeName, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __EventHandlerSkippedCallback(logger, attributeName, ownerComponentType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ElementReferenceCaptureSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ElementReferenceCaptureSkipped"), "An element @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Element references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> An element @ref capture inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. Element references cannot cross render mode boundaries.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void ElementReferenceCaptureSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __ElementReferenceCaptureSkippedCallback(logger, ownerComponentType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentReferenceCaptureSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "ComponentReferenceCaptureSkipped"), "A component @ref capture inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Component references cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> A component @ref capture inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. Component references cannot cross render mode boundaries.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void ComponentReferenceCaptureSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __ComponentReferenceCaptureSkippedCallback(logger, ownerComponentType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentRenderModeSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(4, "ComponentRenderModeSkipped"), "A @rendermode directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> A @rendermode directive inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. The render mode is already determined by the boundary the RenderFragment is crossing.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void ComponentRenderModeSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __ComponentRenderModeSkippedCallback(logger, ownerComponentType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __NamedEventSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(5, "NamedEventSkipped"), "A @formname directive inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> A @formname directive inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. Named events are an SSR-only mechanism and cannot cross render mode boundaries.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void NamedEventSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __NamedEventSkippedCallback(logger, ownerComponentType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __GenericRenderFragmentSkippedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(6, "GenericRenderFragmentSkipped"), "A generic RenderFragment<T> parameter '{AttributeName}' inside a RenderFragment on component '{OwnerComponentType}' was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> A generic RenderFragment&lt;T&gt; parameter &apos;{AttributeName}&apos; inside a RenderFragment on component &apos;{OwnerComponentType}&apos; was skipped during serialization. Only non-generic RenderFragment is supported across render mode boundaries.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void GenericRenderFragmentSkipped(global::Microsoft.Extensions.Logging.ILogger logger, string? attributeName, string? ownerComponentType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __GenericRenderFragmentSkippedCallback(logger, attributeName, ownerComponentType, null);
                }
            }
        }
    }
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Hosting
{
    partial class HostedServiceExecutor
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorStoppingHostedServicesCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, "ErrorStoppingHostedServices"), "An error occurred stopping hosted services.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> An error occurred stopping hosted services.</para>
            /// <para><b>Level:</b> Error</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void ErrorStoppingHostedServices(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
                {
                    __ErrorStoppingHostedServicesCallback(logger, exception);
                }
            }
        }
    }
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Rendering
{
    partial class WebAssemblyRenderer
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnhandledExceptionRenderingComponentCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(100, "ExceptionRenderingComponent"), "Unhandled exception rendering component: {Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> Unhandled exception rendering component: {Message}</para>
            /// <para><b>Level:</b> Critical</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void UnhandledExceptionRenderingComponent(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Critical))
                {
                    __UnhandledExceptionRenderingComponentCallback(logger, message, exception);
                }
            }
        }
    }
}
namespace Microsoft.AspNetCore.Components.WebAssembly.Services
{
    partial class WebAssemblyNavigationManager
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationCanceledCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "NavigationCanceled"), "Navigation canceled when changing the location to {Uri}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> Navigation canceled when changing the location to {Uri}</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void NavigationCanceled(global::Microsoft.Extensions.Logging.ILogger logger, string uri)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __NavigationCanceledCallback(logger, uri, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationFailedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(2, "NavigationFailed"), "Navigation failed when changing the location to {Uri}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
 
            /// <summary>
            /// <para><b>Message:</b> Navigation failed when changing the location to {Uri}</para>
            /// <para><b>Level:</b> Error</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.31009")]
            public static partial void NavigationFailed(global::Microsoft.Extensions.Logging.ILogger logger, string uri, global::System.Exception exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
                {
                    __NavigationFailedCallback(logger, uri, exception);
                }
            }
        }
    }
}