Skip to content

Commit

Permalink
make GetConfigurationAsync virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyyangsong committed Jun 21, 2024
1 parent c24bfe6 commit 43969ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public async Task<T> GetConfigurationAsync()
/// <param name="cancel">CancellationToken</param>
/// <returns>Configuration of type T.</returns>
/// <remarks>If the time since the last call is less than <see cref="BaseConfigurationManager.AutomaticRefreshInterval"/> then <see cref="IConfigurationRetriever{T}.GetConfigurationAsync"/> is not called and the current Configuration is returned.</remarks>
public async Task<T> GetConfigurationAsync(CancellationToken cancel)
public virtual async Task<T> GetConfigurationAsync(CancellationToken cancel)
{
if (_currentConfiguration != null && _syncAfter > DateTimeOffset.UtcNow)
{
Expand Down

0 comments on commit 43969ca

Please sign in to comment.