Skip to content

Commit

Permalink
Update dependency dotnet-sdk to v9.0.200 (#1138)
Browse files Browse the repository at this point in the history
* Update dependency dotnet-sdk to v9.0.200

* Address style warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Will Sugarman <[email protected]>
  • Loading branch information
renovate[bot] and wsugarman authored Feb 19, 2025
1 parent 29d4967 commit 3e84781
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "9.0.102"
"version": "9.0.200"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public interface IProcessTerminator
/// Terminates the current process.
/// </summary>
/// <param name="cancellationToken">A cancellation token.</param>
public void Terminate(CancellationToken cancellationToken);
void Terminate(CancellationToken cancellationToken);
}
10 changes: 3 additions & 7 deletions src/Microsoft.Health.EventGrid/IEventGridPublisher.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -------------------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -------------------------------------------------------------------------------------------------
Expand All @@ -22,17 +22,13 @@ public interface IEventGridPublisher
/// <param name="eventGridEvent">EventGridEvent</param>
/// <param name="cancellationToken">CancellationToken</param>
/// <returns>Task</returns>
public Task<Response> SendEventAsync(
EventGridEvent eventGridEvent,
CancellationToken cancellationToken = default);
Task<Response> SendEventAsync(EventGridEvent eventGridEvent, CancellationToken cancellationToken = default);

/// <summary>
/// SendEventsAsync
/// </summary>
/// <param name="eventGridEvents">EventGridEvent</param>
/// <param name="cancellationToken">CancellationToken</param>
/// <returns>Task</returns>
public Task<Response> SendEventsAsync(
IEnumerable<EventGridEvent> eventGridEvents,
CancellationToken cancellationToken = default);
Task<Response> SendEventsAsync(IEnumerable<EventGridEvent> eventGridEvents, CancellationToken cancellationToken = default);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace Microsoft.Health.Extensions.DependencyInjection.UnitTests.TestObjects;

internal interface IComponent
{
public string Name { get; }
string Name { get; }
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// -------------------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -------------------------------------------------------------------------------------------------
Expand All @@ -10,7 +10,7 @@ namespace Microsoft.Health.SqlServer.Features.Schema.Manager;

public interface IBaseSchemaRunner
{
public Task EnsureBaseSchemaExistsAsync(CancellationToken cancellationToken);
Task EnsureBaseSchemaExistsAsync(CancellationToken cancellationToken);

public Task EnsureInstanceSchemaRecordExistsAsync(CancellationToken cancellationToken);
Task EnsureInstanceSchemaRecordExistsAsync(CancellationToken cancellationToken);
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ public interface ISchemaManager
/// <param name="force">Forces the apply schema</param>
/// <param name="token">A cancellation token.</param>
/// <returns>A task.</returns>
public Task ApplySchema(MutuallyExclusiveType type, bool force = false, CancellationToken token = default);
Task ApplySchema(MutuallyExclusiveType type, bool force = false, CancellationToken token = default);

/// <summary>
/// Gets a list of available schema versions.
/// </summary>
/// <param name="cancellationToken">A cancellation token.</param>
/// <returns>A list of available schema versions from the service.</returns>
public Task<IReadOnlyList<AvailableVersion>> GetAvailableSchema(CancellationToken cancellationToken = default);
Task<IReadOnlyList<AvailableVersion>> GetAvailableSchema(CancellationToken cancellationToken = default);

/// <summary>
/// Gets the current schema version of the service.
/// </summary>
/// <param name="cancellationToken">A cancellation token.</param>
/// <returns>A list of the current schema versions from the service.</returns>
public Task<IReadOnlyList<CurrentVersion>> GetCurrentSchema(CancellationToken cancellationToken = default);
Task<IReadOnlyList<CurrentVersion>> GetCurrentSchema(CancellationToken cancellationToken = default);

/// <summary>
/// Gets the latest schema version of the db.
/// </summary>
/// <param name="cancellationToken">A cancellation token.</param>
/// <returns>The latest version on the server</returns>
public Task<int> GetLatestSchema(CancellationToken cancellationToken = default);
Task<int> GetLatestSchema(CancellationToken cancellationToken = default);
}

0 comments on commit 3e84781

Please sign in to comment.