IConfigureContextualOptions<TOptions> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality to configure the TOptions
type.
generic <typename TOptions>
where TOptions : classpublic interface class IConfigureContextualOptions : IDisposable
public interface IConfigureContextualOptions<in TOptions> : IDisposable where TOptions : class
type IConfigureContextualOptions<'Options (requires 'Options : null)> = interface
interface IDisposable
Public Interface IConfigureContextualOptions(Of In TOptions)
Implements IDisposable
Type Parameters
- TOptions
The type of options configured.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- Implements
Methods
Configure(TOptions) |
Configures a |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.