|
// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Components.RenderTree
{
partial class Renderer
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Int32, global::System.Type, global::System.Int32, global::System.Type, global::System.Exception?> __InitializingChildComponentCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int32, global::System.Type, global::System.Int32, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "InitializingChildComponent"), "Initializing component {ComponentId} ({ComponentType}) as child of {ParentComponentId} ({ParentComponentType})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static partial void InitializingChildComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Int32 componentId, global::System.Type componentType, global::System.Int32 parentComponentId, global::System.Type parentComponentType)
{
__InitializingChildComponentCallback(logger, componentId, componentType, parentComponentId, parentComponentType, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Int32, global::System.Type, global::System.Exception?> __InitializingRootComponentCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int32, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "InitializingRootComponent"), "Initializing root component {ComponentId} ({ComponentType})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static partial void InitializingRootComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Int32 componentId, global::System.Type componentType)
{
__InitializingRootComponentCallback(logger, componentId, componentType, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Int32, global::System.Type, global::System.Exception?> __RenderingComponentCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int32, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "RenderingComponent"), "Rendering component {ComponentId} of type {ComponentType}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static partial void RenderingComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Int32 componentId, global::System.Type componentType)
{
__RenderingComponentCallback(logger, componentId, componentType, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Int32, global::System.Type, global::System.Exception?> __DisposingComponentCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int32, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "DisposingComponent"), "Disposing component {ComponentId} of type {ComponentType}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static partial void DisposingComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Int32 componentId, global::System.Type componentType)
{
__DisposingComponentCallback(logger, componentId, componentType, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.UInt64, global::System.String, global::System.Exception?> __HandlingEventCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.UInt64, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "HandlingEvent"), "Handling event {EventId} of type '{EventType}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void HandlingEvent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.UInt64 eventId, global::System.String eventType)
{
__HandlingEventCallback(logger, eventId, eventType, 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.13.12009")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __SkippingEventOnDisposedComponentStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly global::System.Int32 _componentId;
private readonly global::System.UInt64 _eventId;
private readonly global::System.String _eventType;
public __SkippingEventOnDisposedComponentStruct(global::System.Int32 componentId, global::System.UInt64 eventId, global::System.String eventType)
{
this._componentId = componentId;
this._eventId = eventId;
this._eventType = eventType;
}
public override string ToString()
{
var EventId = this._eventId;
var EventType = this._eventType;
var ComponentId = this._componentId;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Skipping attempt to raise event {EventId} of type '{EventType}' because the component ID {ComponentId} was already disposed");
}
public static readonly global::System.Func<__SkippingEventOnDisposedComponentStruct, 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?>("ComponentId", this._componentId),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("EventId", this._eventId),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("EventType", this._eventType),
3 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Skipping attempt to raise event {EventId} of type '{EventType}' because the component ID {ComponentId} was already disposed"),
_ => 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();
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void SkippingEventOnDisposedComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Int32 componentId, global::System.UInt64 eventId, global::System.String eventType)
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Debug,
new global::Microsoft.Extensions.Logging.EventId(6, "SkippingEventOnDisposedComponent"),
new __SkippingEventOnDisposedComponentStruct(componentId, eventId, eventType),
null,
__SkippingEventOnDisposedComponentStruct.Format);
}
}
}
}
namespace Microsoft.AspNetCore.Components.Infrastructure
{
partial class PersistentValueProviderComponentSubscription
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.String, global::System.Exception?> __PersistingValueToStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "PersistingValueToState"), "Persisting value for storage key '{StorageKey}' of type '{PropertyType}' from component '{ComponentType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void PersistingValueToState(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String componentType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__PersistingValueToStateCallback(logger, storageKey, propertyType, componentType, propertyName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.String, global::System.Exception?> __SkippedPersistingNullValueCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "SkippedPersistingNullValue"), "Skipped persisting null value for storage key '{StorageKey}' of type '{PropertyType}' from component '{ComponentType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void SkippedPersistingNullValue(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String componentType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__SkippedPersistingNullValueCallback(logger, storageKey, propertyType, componentType, propertyName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.Exception?> __RestoringValueFromStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "RestoringValueFromState"), "Restoring value for storage key '{StorageKey}' of type '{PropertyType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void RestoringValueFromState(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RestoringValueFromStateCallback(logger, storageKey, propertyType, propertyName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.Exception?> __NoValueToRestoreFromStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "NoValueToRestoreFromState"), "No value to restore for storage key '{StorageKey}' of type '{PropertyType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void NoValueToRestoreFromState(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NoValueToRestoreFromStateCallback(logger, storageKey, propertyType, propertyName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.String, global::System.Exception?> __RestoredValueFromPersistentStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "RestoredValueFromPersistentState"), "Restored value from persistent state for storage key '{StorageKey}' of type '{PropertyType}' for component '{ComponentType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void RestoredValueFromPersistentState(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String componentType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RestoredValueFromPersistentStateCallback(logger, storageKey, propertyType, componentType, propertyName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.String, global::System.Exception?> __ValueNotFoundInPersistentStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "ValueNotFoundInPersistentState"), "Value not found in persistent state for storage key '{StorageKey}' of type '{PropertyType}' for component '{ComponentType}' for property '{PropertyName}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void ValueNotFoundInPersistentState(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String storageKey, global::System.String propertyType, global::System.String componentType, global::System.String propertyName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ValueNotFoundInPersistentStateCallback(logger, storageKey, propertyType, componentType, propertyName, null);
}
}
}
}
}
namespace Microsoft.AspNetCore.Components.Routing
{
partial class Router
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.Exception?> __DisplayingNotFoundCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "DisplayingNotFound"), "Displaying NotFound because path '{Path}' with base URI '{BaseUri}' does not match any component route", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
internal static partial void DisplayingNotFound(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String path, global::System.String baseUri)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__DisplayingNotFoundCallback(logger, path, baseUri, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.String, global::System.String, global::System.Exception?> __NavigatingToComponentCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "NavigatingToComponent"), "Navigating to component {ComponentType} in response to path '{Path}' with base URI '{BaseUri}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
internal static partial void NavigatingToComponent(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type componentType, global::System.String path, global::System.String baseUri)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NavigatingToComponentCallback(logger, componentType, path, baseUri, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.String, global::System.Exception?> __NavigatingToExternalUriCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "NavigatingToExternalUri"), "Navigating to non-component URI '{ExternalUri}' in response to path '{Path}' with base URI '{BaseUri}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
internal static partial void NavigatingToExternalUri(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String externalUri, global::System.String path, global::System.String baseUri)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NavigatingToExternalUriCallback(logger, externalUri, path, baseUri, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.Exception?> __DisplayingNotFound1Callback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "DisplayingNotFoundOnRequest"), "Displaying contents of {displayedContentPath} on request", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
internal static partial void DisplayingNotFound(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String displayedContentPath)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__DisplayingNotFound1Callback(logger, displayedContentPath, null);
}
}
}
}
}
namespace Microsoft.AspNetCore.Routing.Tree
{
partial class TreeRouter
{
partial class Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.String, global::System.String, global::System.Exception?> __RequestMatchedRouteCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "RequestMatchedRoute"), "Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.13.12009")]
public static partial void RequestMatchedRoute(global::Microsoft.Extensions.Logging.ILogger logger, global::System.String routeName, global::System.String routeTemplate)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestMatchedRouteCallback(logger, routeName, routeTemplate, null);
}
}
}
}
} |