public async Task OnGetAsync() { SettingPageCreationContext = new SettingPageCreationContext(_serviceProvider); foreach (var contributor in _options.Contributors) { await contributor.ConfigureAsync(SettingPageCreationContext).ConfigureAwait(false); } }
public virtual async Task OnGetAsync() { SettingPageCreationContext = new SettingPageCreationContext(ServiceProvider); foreach (var contributor in Options.Contributors) { await contributor.ConfigureAsync(SettingPageCreationContext); } }