Skip to content

Commit

Permalink
Simplify member name
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Nov 23, 2023
1 parent 16a0d3f commit 051fff5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ public void Configure(string? name, PeriodicTaskOptions options)

// bind using the inferred/formatted name
var configuration = configurationProvider.Configuration.GetSection($"Tasks:{name}");
PeriodicTaskConfigureOptions.PopulateFromConfiguration(configuration, options);
PopulateFromConfiguration(configuration, options);

// binding using short name is not done because it may result in duplicates

// bind using the full type name
configuration = configurationProvider.Configuration.GetSection($"Tasks:{type.FullName}");
PeriodicTaskConfigureOptions.PopulateFromConfiguration(configuration, options);
PopulateFromConfiguration(configuration, options);
}

/// <inheritdoc/>
Expand Down

0 comments on commit 051fff5

Please sign in to comment.