TwitterHandler 构造函数

定义

重载

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

初始化 TwitterHandler 的新实例。

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
已过时.

初始化 TwitterHandler 的新实例。

TwitterHandler(IOptionsMonitor<TwitterOptions>, ILoggerFactory, UrlEncoder)

Source:
TwitterHandler.cs
Source:
TwitterHandler.cs

初始化 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)

参数

options
IOptionsMonitor<TwitterOptions>

选项实例的监视器。

适用于

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

注意

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

初始化 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)

参数

options
IOptionsMonitor<TwitterOptions>

选项实例的监视器。

属性

适用于