Skip to content

Commit fbe5079

Browse files
bart-vmwareCopilot
andauthored
Fix awkward sentences in comments (#1650)
* Fix awkward sentences in comments * Update src/Discovery/src/Eureka/DynamicPortAssignmentHostedService.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Common/src/Logging/BootstrapLoggerFactory.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent da33d9c commit fbe5079

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

src/Common/src/Logging/BootstrapLoggerFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static BootstrapLoggerFactory CreateConsole()
5858
/// Creates a new <see cref="BootstrapLoggerFactory" /> that writes to the console.
5959
/// </summary>
6060
/// <param name="configure">
61-
/// Enables to further configure the bootstrap logger from code.
61+
/// Enables further configuring the bootstrap logger from code.
6262
/// </param>
6363
public static BootstrapLoggerFactory CreateConsole(Action<ILoggingBuilder> configure)
6464
{
@@ -75,7 +75,7 @@ public static BootstrapLoggerFactory CreateConsole(Action<ILoggingBuilder> confi
7575
/// Creates a new empty <see cref="BootstrapLoggerFactory" />.
7676
/// </summary>
7777
/// <param name="configure">
78-
/// Enables to fully configure the bootstrap logger from code.
78+
/// Enables fully configuring the bootstrap logger from code.
7979
/// </param>
8080
public static BootstrapLoggerFactory CreateEmpty(Action<ILoggingBuilder> configure)
8181
{

src/Common/test/TestResources/CapturingLoggerProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Steeltoe.Common.TestResources;
99

1010
/// <summary>
11-
/// Enables to capture log messages in tests.
11+
/// Enables capturing log messages in tests.
1212
/// </summary>
1313
public sealed class CapturingLoggerProvider : ILoggerProvider
1414
{

src/Common/test/TestResources/EnvironmentVariableScope.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Steeltoe.Common.TestResources;
66

77
/// <summary>
8-
/// Enables to temporarily set/change an environment variable from a test. The original value is restored when disposed.
8+
/// Enables temporarily setting/changing an environment variable from a test. The original value is restored when disposed.
99
/// </summary>
1010
public sealed class EnvironmentVariableScope : IDisposable
1111
{

src/Common/test/TestResources/TestFailureTracer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Steeltoe.Common.TestResources;
99

1010
/// <summary>
11-
/// Enables to capture log output in failing tests. Call <see cref="Register" /> or use <see cref="LoggerFactory" /> to hook up. When an assertion fails,
11+
/// Enables capturing log output in failing tests. Call <see cref="Register" /> or use <see cref="LoggerFactory" /> to hook up. When an assertion fails,
1212
/// the log output is included in the exception message.
1313
/// </summary>
1414
public sealed class TestFailureTracer : IDisposable

src/Configuration/src/ConfigServer/ConfigServerConfigurationBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static IConfigurationBuilder AddConfigServer(this IConfigurationBuilder b
5555
/// The <see cref="IConfigurationBuilder" /> to add configuration to.
5656
/// </param>
5757
/// <param name="options">
58-
/// Enables to configure Config Server from code.
58+
/// Enables configuring Config Server from code.
5959
/// </param>
6060
/// <param name="loggerFactory">
6161
/// Used for internal logging. Pass <see cref="NullLoggerFactory.Instance" /> to disable logging.

src/Discovery/src/Eureka/DynamicPortAssignmentHostedService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public Task StoppedAsync(CancellationToken cancellationToken)
9595
}
9696

9797
/// <summary>
98-
/// Enables to trigger change in <see cref="OptionsMonitor{EurekaInstanceOptions}" />.
98+
/// Enables triggering change in <see cref="OptionsMonitor{EurekaInstanceOptions}" />.
9999
/// </summary>
100100
internal sealed class EurekaInstanceOptionsChangeTokenSource : IOptionsChangeTokenSource<EurekaInstanceOptions>
101101
{

src/Logging/src/Abstractions/DynamicLoggerProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Steeltoe.Logging;
99

1010
/// <summary>
11-
/// Provides access to <see cref="ILogger" /> categories and their minimum log levels and enables to decorate log messages.
11+
/// Provides access to <see cref="ILogger" /> categories and their minimum log levels and enables decorating log messages.
1212
/// </summary>
1313
public abstract class DynamicLoggerProvider : IDynamicLoggerProvider
1414
{

src/Logging/src/DynamicSerilog/SerilogLoggingBuilderExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static ILoggingBuilder AddDynamicSerilog(this ILoggingBuilder builder)
3535
/// The <see cref="ILoggingBuilder" /> to configure.
3636
/// </param>
3737
/// <param name="serilogConfiguration">
38-
/// Enables to configure Serilog from code instead of configuration.
38+
/// Enables configuring Serilog from code instead of configuration.
3939
/// </param>
4040
/// <returns>
4141
/// The incoming <paramref name="builder" /> so that additional calls can be chained.
@@ -69,7 +69,7 @@ public static ILoggingBuilder AddDynamicSerilog(this ILoggingBuilder builder, bo
6969
/// The <see cref="ILoggingBuilder" /> to configure.
7070
/// </param>
7171
/// <param name="serilogConfiguration">
72-
/// Enables to configure Serilog from code instead of configuration.
72+
/// Enables configuring Serilog from code instead of configuration.
7373
/// </param>
7474
/// <param name="preserveDefaultConsole">
7575
/// When set to <c>true</c>, does not remove existing logger providers.

src/Logging/src/DynamicSerilog/SerilogOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public sealed class SerilogOptions
2323
public MinimumLevel? MinimumLevel { get; set; }
2424

2525
/// <summary>
26-
/// Enables to bind from configuration.
26+
/// Enables binding from configuration.
2727
/// </summary>
2828
/// <param name="configuration">
2929
/// The configuration to bind from.
@@ -56,7 +56,7 @@ internal void SetSerilogOptions(IConfiguration configuration)
5656
}
5757

5858
/// <summary>
59-
/// Enables to configure programmatically.
59+
/// Enables configuring programmatically.
6060
/// </summary>
6161
/// <param name="loggerConfiguration">
6262
/// The instance to obtain settings from.

src/Management/src/Endpoint/Configuration/IEndpointOptionsMonitorProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Steeltoe.Management.Endpoint.Configuration;
99

1010
/// <summary>
11-
/// Enables to register multiple typed providers to enumerate all <see cref="IOptionsMonitor{TOptions}" />s for the various
11+
/// Enables registering multiple typed providers to enumerate all <see cref="IOptionsMonitor{TOptions}" />s for the various
1212
/// <see cref="EndpointOptions" /> types.
1313
/// </summary>
1414
internal interface IEndpointOptionsMonitorProvider

0 commit comments

Comments
 (0)