LoggerProviderOptionsChangeTokenSource<TOptions,TProvider> Class

Definition

Creates IChangeTokens so that IOptionsMonitor<TOptions> gets notified when IConfiguration changes.

generic <typename TOptions, typename TProvider>
public ref class LoggerProviderOptionsChangeTokenSource : Microsoft::Extensions::Options::ConfigurationChangeTokenSource<TOptions>
public class LoggerProviderOptionsChangeTokenSource<TOptions,TProvider> : Microsoft.Extensions.Options.ConfigurationChangeTokenSource<TOptions>
type LoggerProviderOptionsChangeTokenSource<'Options, 'Provider> = class
    inherit ConfigurationChangeTokenSource<'Options>
Public Class LoggerProviderOptionsChangeTokenSource(Of TOptions, TProvider)
Inherits ConfigurationChangeTokenSource(Of TOptions)

Type Parameters

TOptions
TProvider
Inheritance
LoggerProviderOptionsChangeTokenSource<TOptions,TProvider>

Constructors

LoggerProviderOptionsChangeTokenSource<TOptions,TProvider>(ILoggerProviderConfiguration<TProvider>)

Initializes a new instance of the LoggerProviderOptionsChangeTokenSource<TOptions,TProvider> class.

Properties

Name

The name of the option instance being changed.

(Inherited from ConfigurationChangeTokenSource<TOptions>)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChangeToken()

Returns the reloadToken from the IConfiguration.

(Inherited from ConfigurationChangeTokenSource<TOptions>)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to