Skip to content
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
@@ -0,0 +1,22 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//

namespace Microsoft.Extensions.Configuration.AzureAppConfiguration
{
/// <summary>
/// Provides extension methods for configuration sources.
/// </summary>
public static class ConfigurationSourceExtensions
{
/// <summary>
/// Determines whether the specified configuration source is an Azure App Configuration source.
/// </summary>
/// <param name="source">The configuration source to check.</param>
/// <returns>true if the specified source is an Azure App Configuration source; otherwise, false.</returns>
public static bool IsAzureAppConfigurationSource(this IConfigurationSource source)
{
return source is AzureAppConfigurationSource;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal class RequestTracingOptions
/// <summary>
/// Checks whether any tracing feature is used.
/// </summary>
/// <returns>True if any tracing feature is used, otherwise false.</returns>
/// <returns>true if any tracing feature is used, otherwise false.</returns>
public bool UsesAnyTracingFeature()
{
return IsLoadBalancingEnabled || IsSignalRUsed;
Expand Down
Loading