-
Notifications
You must be signed in to change notification settings - Fork 10k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Blazor][Desktop] Fixes nullable annotations on the public API baseli…
…nes (#31073) * Fix nullable annotations * Fix APIs * Add missing API baseline file
- Loading branch information
Showing
8 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/Components/WebView/Platforms/WebView2/src/PublicAPI.Shipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| ||
#nullable enable |
17 changes: 9 additions & 8 deletions
17
src/Components/WebView/Platforms/WebView2/src/PublicAPI.Unshipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper | ||
#nullable enable | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.AcceleratorKeyPressed -> System.EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs> | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.CoreWebView2.get -> Microsoft.Web.WebView2.Core.CoreWebView2 | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Core.CoreWebView2Environment environment = null) -> System.Threading.Tasks.Task | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.Source.get -> System.Uri | ||
Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.Source.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.CoreWebView2.get -> Microsoft.Web.WebView2.Core.CoreWebView2 | ||
~Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Core.CoreWebView2Environment environment = null) -> System.Threading.Tasks.Task | ||
~Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.Source.get -> System.Uri | ||
~Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper.Source.set -> void | ||
Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager | ||
Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.WebView2WebViewManager(Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper webview, System.IServiceProvider services, Microsoft.AspNetCore.Components.Dispatcher dispatcher, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string hostPageRelativePath) -> void | ||
override Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.NavigateCore(System.Uri absoluteUri) -> void | ||
override Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.SendMessage(string message) -> void | ||
~Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.WebView2WebViewManager(Microsoft.AspNetCore.Components.WebView.WebView2.IWebView2Wrapper webview, System.IServiceProvider services, Microsoft.AspNetCore.Components.Dispatcher dispatcher, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string hostPageRelativePath) -> void | ||
~override Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.NavigateCore(System.Uri absoluteUri) -> void | ||
~override Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.SendMessage(string message) -> void |
2 changes: 1 addition & 1 deletion
2
src/Components/WebView/Platforms/WindowsForms/src/PublicAPI.Shipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| ||
#nullable enable |
27 changes: 14 additions & 13 deletions
27
src/Components/WebView/Platforms/WindowsForms/src/PublicAPI.Unshipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView | ||
#nullable enable | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.BlazorWebView() -> void | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.HostPage.get -> string | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.HostPage.set -> void | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.RootComponents.get -> System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.Services.get -> System.IServiceProvider | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.Services.set -> void | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.WebView.get -> Microsoft.Web.WebView2.WinForms.WebView2 | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.HostPage.get -> string | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.HostPage.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.RootComponents.get -> System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.Services.get -> System.IServiceProvider | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.Services.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.BlazorWebView.WebView.get -> Microsoft.Web.WebView2.WinForms.WebView2 | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.ComponentType.get -> System.Type | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.Parameters.get -> System.Collections.Generic.IDictionary<string, object> | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.RootComponent(string selector, System.Type componentType, System.Collections.Generic.IDictionary<string, object> parameters) -> void | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.Selector.get -> string | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.ComponentType.get -> System.Type | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.Parameters.get -> System.Collections.Generic.IDictionary<string, object> | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.RootComponent(string selector, System.Type componentType, System.Collections.Generic.IDictionary<string, object> parameters) -> void | ||
~Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent.Selector.get -> string | ||
Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentCollectionExtensions | ||
static Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentCollectionExtensions.Add<TComponent>(this System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> components, string selector, System.Collections.Generic.IDictionary<string, object> parameters = null) -> void | ||
static Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentCollectionExtensions.Remove(this System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> components, string selector) -> void | ||
~static Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentCollectionExtensions.Add<TComponent>(this System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> components, string selector, System.Collections.Generic.IDictionary<string, object> parameters = null) -> void | ||
~static Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentCollectionExtensions.Remove(this System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent> components, string selector) -> void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| ||
#nullable enable |
31 changes: 16 additions & 15 deletions
31
src/Components/WebView/Platforms/Wpf/src/PublicAPI.Unshipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView | ||
#nullable enable | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.BlazorWebView() -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.Dispose() -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPage.get -> string | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPage.set -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.RootComponents.get -> System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent> | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.Services.get -> System.IServiceProvider | ||
Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.Services.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPage.get -> string | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPage.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.RootComponents.get -> System.Collections.ObjectModel.ObservableCollection<Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent> | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.Services.get -> System.IServiceProvider | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.Services.set -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.ComponentType.get -> System.Type | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.ComponentType.set -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Parameters.get -> System.Collections.Generic.IDictionary<string, object> | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Parameters.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.ComponentType.get -> System.Type | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.ComponentType.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Parameters.get -> System.Collections.Generic.IDictionary<string, object> | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Parameters.set -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.RootComponent() -> void | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Selector.get -> string | ||
Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Selector.set -> void | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Selector.get -> string | ||
~Microsoft.AspNetCore.Components.WebView.Wpf.RootComponent.Selector.set -> void | ||
override Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.OnApplyTemplate() -> void | ||
static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPageProperty -> System.Windows.DependencyProperty | ||
static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.RootComponentsProperty -> System.Windows.DependencyProperty | ||
static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.ServicesProperty -> System.Windows.DependencyProperty | ||
~static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.HostPageProperty -> System.Windows.DependencyProperty | ||
~static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.RootComponentsProperty -> System.Windows.DependencyProperty | ||
~static readonly Microsoft.AspNetCore.Components.WebView.Wpf.BlazorWebView.ServicesProperty -> System.Windows.DependencyProperty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#nullable enable | ||
#nullable enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters