Partager via


TwitterHandler Constructeurs

Définition

Surcharges

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Initialise une nouvelle instance de TwitterHandler.

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Obsolète.

Initialise une nouvelle instance de TwitterHandler.

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Source:
TwitterHandler.cs
Source:
TwitterHandler.cs

Initialise une nouvelle instance 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)

Paramètres

options
IOptionsMonitor<TwitterOptions>

Moniteur des options instance.

logger
ILoggerFactory

L’ILoggerFactoryopérateur

encoder
UrlEncoder

L’UrlEncoderopérateur

S’applique à

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

Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs
Source:
TwitterHandler.cs

Attention

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Initialise une nouvelle instance 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)

Paramètres

options
IOptionsMonitor<TwitterOptions>

Moniteur des options instance.

logger
ILoggerFactory

L’ILoggerFactoryopérateur

encoder
UrlEncoder

L’UrlEncoderopérateur

clock
ISystemClock

L’ISystemClockopérateur

Attributs

S’applique à