Change of naming `INativeViewHandler.ContainerView`
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
I'd like to change naming of a property `INativeViewHandler.ContainerView`
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/IViewHandler.Android.cs#L10
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/View/ViewHandlerOfT.Android.cs#L15
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/IViewHandler.Windows.cs#L9
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/View/ViewHandlerOfT.Windows.cs#L13
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/IViewHandler.iOS.cs#L9
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Handlers/View/ViewHandlerOfT.iOS.cs#L13
It used in ViewHandlerOfT series
It's actual type name is WrapperView, so i'd like to change naming to `WrapperView` instead of `ContainerView`
because `ContainerView` is existed another places in here
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Platform/Android/ContainerView.cs#L10
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Platform/Android/HandlerExtensions.cs#L30
https://github.com/dotnet/maui/blob/963d68563c8499906e64c1d6debc96754a5c1506/src/Core/src/Platform/iOS/ContentView.cs#L7
So, it makes me difficult to communicate with others.
### (Public) API Changes
# INativeViewHandler
## Properties
### Rename
| API | Description |
| ------------- | ------------- |
| ContainerView -> WrapperView | |
### Usage Scenarios
N/A
### Backward Compatibility
API breaks
### Difficulty
Low
Contributor guide
Research direction
Start with the platform-specific INativeViewHandler and ViewHandlerOfT files linked in the issue for Android, Windows, and iOS, then search for remaining ContainerView references. The change is done when the handler API and its implementations consistently use WrapperView without confusing references to the existing ContainerView types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop-dev, mobile-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100