Edit

Share via


IConfigureContextualOptions<TOptions> Interface

Definition

Represents something that configures 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)

Invoked to configure a TOptions instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)

Applies to