Ejemplo n.º 1
0
        public async Task OnGetAsync()
        {
            SettingPageCreationContext = new SettingPageCreationContext(_serviceProvider);

            foreach (var contributor in _options.Contributors)
            {
                await contributor.ConfigureAsync(SettingPageCreationContext).ConfigureAwait(false);
            }
        }
Ejemplo n.º 2
0
        public virtual async Task OnGetAsync()
        {
            SettingPageCreationContext = new SettingPageCreationContext(ServiceProvider);

            foreach (var contributor in Options.Contributors)
            {
                await contributor.ConfigureAsync(SettingPageCreationContext);
            }
        }