Skip to content

Simplify EnvironmentBoundary.ParseEnvironmentNames#65160

Merged
javiercn merged 2 commits intodotnet:mainfrom
campersau:ParseEnvironmentNames
Jan 22, 2026
Merged

Simplify EnvironmentBoundary.ParseEnvironmentNames#65160
javiercn merged 2 commits intodotnet:mainfrom
campersau:ParseEnvironmentNames

Conversation

@campersau
Copy link
Contributor

Simplify EnvironmentBoundary.ParseEnvironmentNames

Remove manual trimming and use StringSplitOptions.TrimEntries.
Also Split now has an overload which takes a char so no array is needed.

Reference: #64616 (comment)

@campersau campersau requested a review from a team as a code owner January 21, 2026 17:36
@github-actions github-actions bot added the area-blazor Includes: Blazor, Razor Components label Jan 21, 2026
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 21, 2026
Copy link
Member

@javiercn javiercn left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@javiercn javiercn merged commit 1dbcba3 into dotnet:main Jan 22, 2026
25 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Jan 22, 2026
@campersau campersau deleted the ParseEnvironmentNames branch January 22, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants