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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public CommandCorrelatedEventData(
/// <param name="connectionId"> A correlation ID that identifies the <see cref="DbConnection" /> instance being used. </param>
/// <param name="async"> Indicates whether or not the command was executed asynchronously. </param>
/// <param name="startTime"> The start time of this event. </param>
/// <param name="commandSource">Source of the command.</param>
/// <param name="commandSource"> Source of the command. </param>
public CommandCorrelatedEventData(
EventDefinitionBase eventDefinition,
Func<EventDefinitionBase, EventData, string> messageGenerator,
Expand Down
6 changes: 3 additions & 3 deletions src/EFCore.Relational/Diagnostics/CommandEndEventData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public CommandEndEventData(
/// <param name="async"> Indicates whether or not the command was executed asynchronously. </param>
/// <param name="logParameterValues"> Indicates whether or not the application allows logging of parameter values. </param>
/// <param name="startTime"> The start time of this event. </param>
/// <param name="commandSource">Source of the command.</param>
/// <param name="duration"> The duration this event. </param>
/// <param name="commandSource"> Source of the command. </param>
public CommandEndEventData(
EventDefinitionBase eventDefinition,
Func<EventDefinitionBase, EventData, string> messageGenerator,
Expand All @@ -84,8 +84,8 @@ public CommandEndEventData(
bool async,
bool logParameterValues,
DateTimeOffset startTime,
CommandSource commandSource,
TimeSpan duration)
TimeSpan duration,
CommandSource commandSource)
: base(
eventDefinition,
messageGenerator,
Expand Down
10 changes: 5 additions & 5 deletions src/EFCore.Relational/Diagnostics/CommandErrorEventData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public CommandErrorEventData(
/// <param name="async"> Indicates whether or not the command was executed asynchronously. </param>
/// <param name="logParameterValues"> Indicates whether or not the application allows logging of parameter values. </param>
/// <param name="startTime"> The start time of this event. </param>
/// <param name="commandSource">Source of the command.</param>
/// <param name="duration"> The duration this event. </param>
/// <param name="commandSource"> Source of the command. </param>
public CommandErrorEventData(
EventDefinitionBase eventDefinition,
Func<EventDefinitionBase, EventData, string> messageGenerator,
Expand All @@ -90,8 +90,8 @@ public CommandErrorEventData(
bool async,
bool logParameterValues,
DateTimeOffset startTime,
CommandSource commandSource,
TimeSpan duration)
TimeSpan duration,
CommandSource commandSource)
: base(
eventDefinition,
messageGenerator,
Expand All @@ -104,8 +104,8 @@ public CommandErrorEventData(
async,
logParameterValues,
startTime,
commandSource,
duration)
duration,
commandSource)
{
Exception = exception;
}
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.Relational/Diagnostics/CommandEventData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public CommandEventData(
/// <param name="async"> Indicates whether or not the command was executed asynchronously. </param>
/// <param name="logParameterValues"> Indicates whether or not the application allows logging of parameter values. </param>
/// <param name="startTime"> The start time of this event. </param>
/// <param name="commandSource">Source of the command.</param>
/// <param name="commandSource"> Source of the command. </param>
public CommandEventData(
EventDefinitionBase eventDefinition,
Func<EventDefinitionBase, EventData, string> messageGenerator,
Expand Down
10 changes: 5 additions & 5 deletions src/EFCore.Relational/Diagnostics/CommandExecutedEventData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public CommandExecutedEventData(
/// <param name="async"> Indicates whether or not the command was executed asynchronously. </param>
/// <param name="logParameterValues"> Indicates whether or not the application allows logging of parameter values. </param>
/// <param name="startTime"> The start time of this event. </param>
/// <param name="commandSource">Source of the command.</param>
/// <param name="duration"> The duration this event. </param>
/// <param name="commandSource"> Source of the command. </param>
public CommandExecutedEventData(
EventDefinitionBase eventDefinition,
Func<EventDefinitionBase, EventData, string> messageGenerator,
Expand All @@ -88,8 +88,8 @@ public CommandExecutedEventData(
bool async,
bool logParameterValues,
DateTimeOffset startTime,
CommandSource commandSource,
TimeSpan duration)
TimeSpan duration,
CommandSource commandSource)
: base(
eventDefinition,
messageGenerator,
Expand All @@ -102,8 +102,8 @@ public CommandExecutedEventData(
async,
logParameterValues,
startTime,
commandSource,
duration)
duration,
commandSource)
=> Result = result;

/// <summary>
Expand Down
Loading