Skip to content

Update Effects per API review#10919

Merged
JeremyKuhne merged 1 commit intodotnet:mainfrom
JeremyKuhne:shipeffects
Feb 21, 2024
Merged

Update Effects per API review#10919
JeremyKuhne merged 1 commit intodotnet:mainfrom
JeremyKuhne:shipeffects

Conversation

@JeremyKuhne
Copy link
Member

@JeremyKuhne JeremyKuhne commented Feb 21, 2024

This updates Effects to match the approved API and removes [RequiresPreviewFeatures].

Fixes #8835

#8835 (comment)

Microsoft Reviewers: Open in CodeFlow

This updates Effects to match the approved API and removes [RequiresPreviewFeatures].

Fixes dotnet#8835

dotnet#8835 (comment)
@codecov
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (da7bb65) 73.15837% compared to head (41b5a23) 73.15735%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10919         +/-   ##
===================================================
- Coverage   73.15837%   73.15735%   -0.00103%     
===================================================
  Files           3087        3090          +3     
  Lines         633665      633626         -39     
  Branches       47402       47397          -5     
===================================================
- Hits          463579      463544         -35     
+ Misses        166572      166569          -3     
+ Partials        3514        3513          -1     
Flag Coverage Δ
Debug 73.15735% <90.62500%> (-0.00103%) ⬇️
integration 18.21351% <0.00000%> (-0.00376%) ⬇️
production 46.61263% <75.00000%> (-0.01018%) ⬇️
test 94.99478% <100.00000%> (+0.00033%) ⬆️
unit 43.54713% <75.00000%> (-0.00910%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

/// <inheritdoc cref="DrawImage(Image, Effect, RectangleF, Drawing2D.Matrix?, GraphicsUnit, ImageAttributes?)"/>
public void DrawImage(
Image image,
Effect effect) => DrawImage(image, effect, default, default, GraphicsUnit.Pixel, null);
Copy link
Contributor

Choose a reason for hiding this comment

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

Add parameter name before the literal

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll tweak it in the next PR.

@JeremyKuhne JeremyKuhne merged commit 571dc7a into dotnet:main Feb 21, 2024
@JeremyKuhne JeremyKuhne deleted the shipeffects branch February 21, 2024 19:24
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0 Preview2 milestone Feb 21, 2024
KlausLoeffelmann pushed a commit to KlausLoeffelmann/winforms that referenced this pull request Mar 5, 2024
This updates Effects to match the approved API and removes [RequiresPreviewFeatures].

Fixes dotnet#8835

dotnet#8835 (comment)
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Effects to System.Drawing

2 participants