Skip to content

Commit 0d501f6

Browse files
author
Diana Qu
committed
change description
1 parent d8c297f commit 0d501f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

specs/GetEnvironment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
When the WebView2 team was making design changes to the [WebResourceRequested API](https://github.com/MicrosoftEdge/WebView2Feedback/wiki/WebResourceRequested-API-Review-Spec) for .NET, we realized several caveats. It was not ideal to force all end developers to keep references back to the CoreWebView2Environment from their CoreWebView2 event handlers, and also in the case of WPF, WinForms and WinUI3.0 the UI framework can create the CoreWebView2Environment internally with no easy way for the end developers to obtain a reference to it. Thus providing a reference to the CoreWebView2Environment off of the CoreWebView2 solves both of those problems.
33

44
# Description
5-
Get the `CoreWebView2Environment` used to create the `CoreWebView2` from that `CoreWebView2`'s `CoreWebView2Environment` property
5+
Get the `CoreWebView2Environment` used to create the `CoreWebView2` from that `CoreWebView2`'s `Environment` property
66

77

88
# Examples

0 commit comments

Comments
 (0)