Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API review updates #25450

Merged
merged 1 commit into from
Aug 9, 2021
Merged

API review updates #25450

merged 1 commit into from
Aug 9, 2021

Conversation

ajcvickers
Copy link
Member

Part of #24743

  • Add params to ContextParameterBinding and related
  • Remove RelationalConnection.DbConnectionState
  • Move commandSource constructor parameters to the end in *EventData classes and IRelationalCommandDiagnosticsLogger

Part of #24743

- Add params to ContextParameterBinding and related
- Remove RelationalConnection.DbConnectionState
- Move commandSource constructor parameters to the end in *EventData classes and IRelationalCommandDiagnosticsLogger
@ajcvickers ajcvickers requested a review from a team August 8, 2021 13:02
@@ -21,7 +21,7 @@ public class ContextParameterBinding : ServiceParameterBinding
/// <param name="serviceProperties"> The associated <see cref="IServiceProperty" /> objects, or <see langword="null" />. </param>
public ContextParameterBinding(
Type contextType,
IPropertyBase[]? serviceProperties = null)
params IPropertyBase[]? serviceProperties)
Copy link
Member

Choose a reason for hiding this comment

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

Should probably make the array non-nullable - with params we just get an empty one (here and below).

Suggested change
params IPropertyBase[]? serviceProperties)
params IPropertyBase[] serviceProperties)

Copy link
Member Author

Choose a reason for hiding this comment

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

It was previously possible to pass null directly, so we should not break that.

@ajcvickers ajcvickers merged commit 270a608 into main Aug 9, 2021
@ajcvickers ajcvickers deleted the BeeQueueJayMinusOnes0808 branch August 9, 2021 12:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants