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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.