diff --git a/global.json b/global.json index ee2876ea..58b8fbe1 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "9.0.102" + "version": "9.0.200" } } diff --git a/src/Microsoft.Health.Core/Features/Control/IProcessTerminator.cs b/src/Microsoft.Health.Core/Features/Control/IProcessTerminator.cs index 7162a344..2d20c771 100644 --- a/src/Microsoft.Health.Core/Features/Control/IProcessTerminator.cs +++ b/src/Microsoft.Health.Core/Features/Control/IProcessTerminator.cs @@ -13,5 +13,5 @@ public interface IProcessTerminator /// Terminates the current process. /// /// A cancellation token. - public void Terminate(CancellationToken cancellationToken); + void Terminate(CancellationToken cancellationToken); } diff --git a/src/Microsoft.Health.EventGrid/IEventGridPublisher.cs b/src/Microsoft.Health.EventGrid/IEventGridPublisher.cs index 50f5d7d7..ce2acfbb 100644 --- a/src/Microsoft.Health.EventGrid/IEventGridPublisher.cs +++ b/src/Microsoft.Health.EventGrid/IEventGridPublisher.cs @@ -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. // ------------------------------------------------------------------------------------------------- @@ -22,9 +22,7 @@ public interface IEventGridPublisher /// EventGridEvent /// CancellationToken /// Task - public Task SendEventAsync( - EventGridEvent eventGridEvent, - CancellationToken cancellationToken = default); + Task SendEventAsync(EventGridEvent eventGridEvent, CancellationToken cancellationToken = default); /// /// SendEventsAsync @@ -32,7 +30,5 @@ public Task SendEventAsync( /// EventGridEvent /// CancellationToken /// Task - public Task SendEventsAsync( - IEnumerable eventGridEvents, - CancellationToken cancellationToken = default); + Task SendEventsAsync(IEnumerable eventGridEvents, CancellationToken cancellationToken = default); } diff --git a/src/Microsoft.Health.Extensions.DependencyInjection.UnitTests/TestObjects/IComponent.cs b/src/Microsoft.Health.Extensions.DependencyInjection.UnitTests/TestObjects/IComponent.cs index b65fdb62..08932dfe 100644 --- a/src/Microsoft.Health.Extensions.DependencyInjection.UnitTests/TestObjects/IComponent.cs +++ b/src/Microsoft.Health.Extensions.DependencyInjection.UnitTests/TestObjects/IComponent.cs @@ -7,5 +7,5 @@ namespace Microsoft.Health.Extensions.DependencyInjection.UnitTests.TestObjects; internal interface IComponent { - public string Name { get; } + string Name { get; } } diff --git a/src/Microsoft.Health.SqlServer/Features/Schema/Manager/IBaseSchemaRunner.cs b/src/Microsoft.Health.SqlServer/Features/Schema/Manager/IBaseSchemaRunner.cs index 107ae7ce..869fcb29 100644 --- a/src/Microsoft.Health.SqlServer/Features/Schema/Manager/IBaseSchemaRunner.cs +++ b/src/Microsoft.Health.SqlServer/Features/Schema/Manager/IBaseSchemaRunner.cs @@ -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. // ------------------------------------------------------------------------------------------------- @@ -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); } diff --git a/src/Microsoft.Health.SqlServer/Features/Schema/Manager/ISchemaManager.cs b/src/Microsoft.Health.SqlServer/Features/Schema/Manager/ISchemaManager.cs index 078f5667..1c4af6fc 100644 --- a/src/Microsoft.Health.SqlServer/Features/Schema/Manager/ISchemaManager.cs +++ b/src/Microsoft.Health.SqlServer/Features/Schema/Manager/ISchemaManager.cs @@ -19,26 +19,26 @@ public interface ISchemaManager /// Forces the apply schema /// A cancellation token. /// A task. - public Task ApplySchema(MutuallyExclusiveType type, bool force = false, CancellationToken token = default); + Task ApplySchema(MutuallyExclusiveType type, bool force = false, CancellationToken token = default); /// /// Gets a list of available schema versions. /// /// A cancellation token. /// A list of available schema versions from the service. - public Task> GetAvailableSchema(CancellationToken cancellationToken = default); + Task> GetAvailableSchema(CancellationToken cancellationToken = default); /// /// Gets the current schema version of the service. /// /// A cancellation token. /// A list of the current schema versions from the service. - public Task> GetCurrentSchema(CancellationToken cancellationToken = default); + Task> GetCurrentSchema(CancellationToken cancellationToken = default); /// /// Gets the latest schema version of the db. /// /// A cancellation token. /// The latest version on the server - public Task GetLatestSchema(CancellationToken cancellationToken = default); + Task GetLatestSchema(CancellationToken cancellationToken = default); }