Compartilhar via


TwitterHandler Construtores

Definição

Sobrecargas

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Inicializa uma nova instância de TwitterHandler.

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

Inicializa uma nova instância de TwitterHandler.

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs

Inicializa uma nova instância de 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)

Parâmetros

options
IOptionsMonitor<TwitterOptions>

O monitor da instância de opções.

encoder
UrlEncoder

O UrlEncoder.

Aplica-se a

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

Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs
Origem:
TwitterHandler.cs

Cuidado

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inicializa uma nova instância de 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)

Parâmetros

options
IOptionsMonitor<TwitterOptions>

O monitor da instância de opções.

encoder
UrlEncoder

O UrlEncoder.

Atributos

Aplica-se a