| File: IPostConfigureOptions.cs | Web Access |
| Project: src\runtime\src\libraries\Microsoft.Extensions.Options\src\Microsoft.Extensions.Options.csproj (Microsoft.Extensions.Options) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Extensions.Options { /// <summary> /// Represents something that configures the <typeparamref name="TOptions"/> type. /// </summary> /// <typeparam name="TOptions">Options type being configured.</typeparam> /// <remarks> /// These are run after all <see cref="IConfigureOptions{TOptions}"/>. /// </remarks> public interface IPostConfigureOptions<in TOptions> where TOptions : class { /// <summary> /// Configures a <typeparamref name="TOptions"/> instance. /// </summary> /// <param name="name">The name of the options instance being configured.</param> /// <param name="options">The options instance to configured.</param> void PostConfigure(string? name, TOptions options); } }