Skip to content

Commit

Permalink
make GetConfigurationAsync virtual (#2661)
Browse files Browse the repository at this point in the history
  • Loading branch information
kllysng authored Jul 15, 2024
1 parent 315b80b commit f7fc22d
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 f7fc22d

Please sign in to comment.