|
| 1 | +# Microsoft.AspNetCore.Components |
| 2 | + |
| 3 | +```diff |
| 4 | + namespace Microsoft.AspNetCore.Components |
| 5 | + { |
| 6 | + public abstract class NavigationManager |
| 7 | + { |
| 8 | ++ public event System.EventHandler<Microsoft.AspNetCore.Components.Routing.NotFoundEventArgs> OnNotFound { add; remove; } |
| 9 | ++ public void NotFound(); |
| 10 | + } |
| 11 | + public abstract class OwningComponentBase : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable, System.IAsyncDisposable |
| 12 | + { |
| 13 | ++ protected virtual System.Threading.Tasks.ValueTask DisposeAsyncCore(); |
| 14 | + } |
| 15 | + public class PersistentComponentState |
| 16 | + { |
| 17 | ++ public Microsoft.AspNetCore.Components.RestoringComponentStateSubscription RegisterOnRestoring(System.Action callback, Microsoft.AspNetCore.Components.RestoreOptions options); |
| 18 | + } |
| 19 | ++ [System.Diagnostics.DebuggerDisplayAttribute("{GetDebuggerDisplay(),nq}")] |
| 20 | + public sealed class RendererInfo |
| 21 | + { |
| 22 | + } |
| 23 | + public sealed class ResourceAsset |
| 24 | + { |
| 25 | +- public ResourceAsset(string url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty>? properties); |
| 26 | ++ public ResourceAsset(string url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty>? properties = null); |
| 27 | + } |
| 28 | + public class RouteView : Microsoft.AspNetCore.Components.IComponent |
| 29 | + { |
| 30 | ++ [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute("Trimming", "IL2110", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")] |
| 31 | + protected virtual void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder); |
| 32 | + } |
| 33 | ++ public abstract class PersistentComponentStateSerializer<T> |
| 34 | ++ { |
| 35 | ++ protected PersistentComponentStateSerializer(); |
| 36 | ++ public abstract void Persist(T value, System.Buffers.IBufferWriter<byte> writer); |
| 37 | ++ public abstract T Restore(System.Buffers.ReadOnlySequence<byte> data); |
| 38 | ++ } |
| 39 | ++ public sealed class PersistentStateAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase |
| 40 | ++ { |
| 41 | ++ public PersistentStateAttribute(); |
| 42 | ++ public bool AllowUpdates { get; set; } |
| 43 | ++ public Microsoft.AspNetCore.Components.RestoreBehavior RestoreBehavior { get; set; } |
| 44 | ++ } |
| 45 | ++ [System.FlagsAttribute] |
| 46 | ++ public enum RestoreBehavior |
| 47 | ++ { |
| 48 | ++ Default = 0, |
| 49 | ++ SkipInitialValue = 1, |
| 50 | ++ SkipLastSnapshot = 2, |
| 51 | ++ } |
| 52 | ++ public sealed class RestoreContext |
| 53 | ++ { |
| 54 | ++ public static Microsoft.AspNetCore.Components.RestoreContext InitialValue { get; } |
| 55 | ++ public static Microsoft.AspNetCore.Components.RestoreContext LastSnapshot { get; } |
| 56 | ++ public static Microsoft.AspNetCore.Components.RestoreContext ValueUpdate { get; } |
| 57 | ++ } |
| 58 | ++ public readonly struct RestoreOptions |
| 59 | ++ { |
| 60 | ++ public RestoreOptions(); |
| 61 | ++ public bool AllowUpdates { get; init; } |
| 62 | ++ public Microsoft.AspNetCore.Components.RestoreBehavior RestoreBehavior { get; init; } |
| 63 | ++ } |
| 64 | ++ public readonly struct RestoringComponentStateSubscription : System.IDisposable |
| 65 | ++ { |
| 66 | ++ public readonly void Dispose(); |
| 67 | ++ } |
| 68 | + } |
| 69 | + namespace Microsoft.AspNetCore.Components.Infrastructure |
| 70 | + { |
| 71 | + public class ComponentStatePersistenceManager |
| 72 | + { |
| 73 | ++ public ComponentStatePersistenceManager(Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.Infrastructure.ComponentStatePersistenceManager> logger, System.IServiceProvider serviceProvider); |
| 74 | ++ public System.Threading.Tasks.Task RestoreStateAsync(Microsoft.AspNetCore.Components.IPersistentComponentStateStore store, Microsoft.AspNetCore.Components.RestoreContext context); |
| 75 | ++ public void SetPlatformRenderMode(Microsoft.AspNetCore.Components.IComponentRenderMode renderMode); |
| 76 | + } |
| 77 | ++ public static class ComponentsMetricsServiceCollectionExtensions |
| 78 | ++ { |
| 79 | ++ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddComponentsMetrics(Microsoft.Extensions.DependencyInjection.IServiceCollection services); |
| 80 | ++ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddComponentsTracing(Microsoft.Extensions.DependencyInjection.IServiceCollection services); |
| 81 | ++ } |
| 82 | ++ public static class PersistentStateProviderServiceCollectionExtensions |
| 83 | ++ { |
| 84 | ++ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSupplyValueFromPersistentComponentStateProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services); |
| 85 | ++ } |
| 86 | ++ public static class RegisterPersistentComponentStateServiceCollectionExtensions |
| 87 | ++ { |
| 88 | ++ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddPersistentServiceRegistration<TService>(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.AspNetCore.Components.IComponentRenderMode componentRenderMode); |
| 89 | ++ } |
| 90 | + } |
| 91 | + namespace Microsoft.AspNetCore.Components.Rendering |
| 92 | + { |
| 93 | + public class ComponentState : System.IAsyncDisposable |
| 94 | + { |
| 95 | ++ protected internal virtual object? GetComponentKey(); |
| 96 | ++ protected internal Microsoft.AspNetCore.Components.RenderTree.Renderer Renderer { get; } |
| 97 | + } |
| 98 | + } |
| 99 | + namespace Microsoft.AspNetCore.Components.Routing |
| 100 | + { |
| 101 | + public interface IHostEnvironmentNavigationManager |
| 102 | + { |
| 103 | ++ void Initialize(string baseUri, string uri, System.Func<string, System.Threading.Tasks.Task> onNavigateTo); |
| 104 | + } |
| 105 | + public class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable |
| 106 | + { |
| 107 | ++ [System.ObsoleteAttribute("NotFound is deprecated. Use NotFoundPage instead.")] |
| 108 | + public Microsoft.AspNetCore.Components.RenderFragment NotFound { get; set; } |
| 109 | +- [System.ObsoleteAttribute("This property is obsolete and configuring it has not effect.")] |
| 110 | ++ [System.ObsoleteAttribute("This property is obsolete and configuring it has no effect.")] |
| 111 | + public bool PreferExactMatches { get; set; } |
| 112 | ++ [Microsoft.AspNetCore.Components.ParameterAttribute] |
| 113 | ++ [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute((System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)(-1))] |
| 114 | ++ public System.Type? NotFoundPage { get; set; } |
| 115 | + } |
| 116 | ++ public sealed class NotFoundEventArgs : System.EventArgs |
| 117 | ++ { |
| 118 | ++ public NotFoundEventArgs(); |
| 119 | ++ public string? Path { get; set; } |
| 120 | ++ } |
| 121 | + } |
| 122 | +``` |
0 commit comments