Zdieľať cez


IConfigureContextualOptions<TOptions> Interface

Definition

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 TOptions instance.

Dispose()

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

(Inherited from IDisposable)

Applies to