Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Make OnPlatform helpers public #12278

Merged
merged 3 commits into from
Oct 9, 2020
Merged

Conversation

pictos
Copy link
Contributor

@pictos pictos commented Sep 27, 2020

Description of Change

This PR changes the visibility of the PlatformConfigurationRegistry<TElement> class to public decorated with the EditorBrowsableState.Never attribute. We need this into the XCT.

Issues Resolved

API Changes

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)


namespace Xamarin.Forms
{
/// <summary>
/// Helper that handles storing and lookup of platform specifics implementations
/// </summary>
/// <typeparam name="TElement">The Element type</typeparam>
internal class PlatformConfigurationRegistry<TElement> : IElementConfiguration<TElement>
[EditorBrowsable(EditorBrowsableState.Never)]
Copy link
Contributor

Choose a reason for hiding this comment

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

You can leave off this attribute.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@samhouts samhouts merged commit c713704 into xamarin:5.0.0 Oct 9, 2020
@pictos pictos deleted the onplatform_public branch October 9, 2020 23:18
@samhouts samhouts added this to the 5.0.0 milestone Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants