Skip to content

Commit 6766ff1

Browse files
Drop XamlApplication::EnsureCreated (#15509)
This function is an implementation detail and shouldn't be exposed in the public interface. This was missed out by PR #15407. A module requiring Xaml support can specify it using the bool property `IReactViewComponentBuilder.XamlSupport`.
1 parent 2bd7533 commit 6766ff1

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "Drop XamlApplication::EnsureCreated",
4+
"packageName": "react-native-windows",
5+
"email": "email not defined",
6+
"dependentChangeType": "none"
7+
}

vnext/Microsoft.ReactNative/XamlApplication.idl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ namespace Microsoft.ReactNative.Xaml {
88
DOC_STRING("Initializes a new XamlApplication instance for RNW-hosted WinUI/XAML.")
99
XamlApplication();
1010

11-
DOC_STRING("Ensures the XamlApplication singleton exists.")
12-
static void EnsureCreated();
13-
1411
DOC_STRING("Gets the process-wide XamlApplication singleton.")
1512
static XamlApplication Current {
1613
get;

0 commit comments

Comments
 (0)