Skip to content

Conversation

@jsuarezruiz
Copy link
Contributor

Description of Change

This PR introduces new public APIs to support advanced scenarios where developers may need to interact with platform registration and lifecycle services directly.

  • Expose IMauiInitializeService and IMauiLifecycleService as public interfaces.
  • Update internal access modifiers to support controlled extensibility without impacting existing behavior.

Issues Fixed

Fixes #12947

@Copilot Copilot AI review requested due to automatic review settings October 17, 2025 06:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR exposes internal platform management classes as public APIs to support advanced developer scenarios requiring direct access to platform registration and lifecycle services.

  • Changes internal access modifiers to public for AlertManager, ModalNavigationManager, GestureManager, and related interfaces
  • Adds public documentation for newly exposed interfaces and classes
  • Updates PublicAPI tracking files to reflect the breaking changes to public surface area

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/Controls/src/Core/Window/Window.cs Exposes AlertManager and ModalNavigationManager properties as public with XML documentation
src/Controls/src/Core/Platform/AlertManager/*.cs Changes AlertManager class and IAlertManagerSubscription interface from internal to public across all platforms
src/Controls/src/Core/Platform/ModalNavigationManager/*.cs Changes ModalNavigationManager class from internal to public across all platforms
src/Controls/src/Core/Platform/GestureManager/*.cs Changes GestureManager and GesturePlatformManager classes from internal to public across all platforms
src/Controls/src/Core/IControls*.cs Changes IControlsElement, IControlsVisualElement, and IControlsView interfaces from internal to public with comprehensive documentation
src/Controls/src/Core/PublicAPI/*/PublicAPI.Unshipped.txt Updates public API surface tracking files to document newly exposed types and members

@PureWeen PureWeen added this to the .NET 11 Planning milestone Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants