Condividi tramite


TwitterHandler Costruttori

Definizione

Overload

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Inizializza una nuova istanza di TwitterHandler.

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Obsoleti.

Inizializza una nuova istanza di TwitterHandler.

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs

Inizializza una nuova istanza di TwitterHandler.

public TwitterHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler
Public Sub New (options As IOptionsMonitor(Of TwitterOptions), logger As ILoggerFactory, encoder As UrlEncoder)

Parametri

options
IOptionsMonitor<TwitterOptions>

Monitoraggio per l'istanza delle opzioni.

logger
ILoggerFactory

Oggetto ILoggerFactory.

encoder
UrlEncoder

Oggetto UrlEncoder.

Si applica a

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs
Origine:
TwitterHandler.cs

Attenzione

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inizializza una nuova istanza di TwitterHandler.

public:
 TwitterHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public TwitterHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")]
public TwitterHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler
Public Sub New (options As IOptionsMonitor(Of TwitterOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)

Parametri

options
IOptionsMonitor<TwitterOptions>

Monitoraggio per l'istanza delle opzioni.

logger
ILoggerFactory

Oggetto ILoggerFactory.

encoder
UrlEncoder

Oggetto UrlEncoder.

clock
ISystemClock

Oggetto ISystemClock.

Attributi

Si applica a