OwinFeatureCollection Класс

Определение

Коллекция компонентов OWIN.

public ref class OwinFeatureCollection : Microsoft::AspNetCore::Http::Features::Authentication::IHttpAuthenticationFeature, Microsoft::AspNetCore::Http::Features::IFeatureCollection, Microsoft::AspNetCore::Http::Features::IHttpConnectionFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestIdentifierFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseFeature, Microsoft::AspNetCore::Http::Features::IHttpSendFileFeature, Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature, Microsoft::AspNetCore::Http::Features::ITlsConnectionFeature, Microsoft::AspNetCore::Owin::IOwinEnvironmentFeature, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public ref class OwinFeatureCollection : Microsoft::AspNetCore::Http::Features::Authentication::IHttpAuthenticationFeature, Microsoft::AspNetCore::Http::Features::IFeatureCollection, Microsoft::AspNetCore::Http::Features::IHttpConnectionFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestIdentifierFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseBodyFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseFeature, Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature, Microsoft::AspNetCore::Http::Features::ITlsConnectionFeature, Microsoft::AspNetCore::Owin::IOwinEnvironmentFeature, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public class OwinFeatureCollection : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseFeature, Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature, Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature, Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature, Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
public class OwinFeatureCollection : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseFeature, Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature, Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature, Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
type OwinFeatureCollection = class
    interface IFeatureCollection
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
    interface IHttpRequestFeature
    interface IHttpResponseFeature
    interface IHttpConnectionFeature
    interface IHttpSendFileFeature
    interface ITlsConnectionFeature
    interface IHttpRequestIdentifierFeature
    interface IHttpRequestLifetimeFeature
    interface IHttpAuthenticationFeature
    interface IHttpWebSocketFeature
    interface IOwinEnvironmentFeature
type OwinFeatureCollection = class
    interface IFeatureCollection
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
    interface IHttpRequestFeature
    interface IHttpResponseFeature
    interface IHttpResponseBodyFeature
    interface IHttpConnectionFeature
    interface ITlsConnectionFeature
    interface IHttpRequestIdentifierFeature
    interface IHttpRequestLifetimeFeature
    interface IHttpAuthenticationFeature
    interface IHttpWebSocketFeature
    interface IOwinEnvironmentFeature
Public Class OwinFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object)), IFeatureCollection, IHttpAuthenticationFeature, IHttpConnectionFeature, IHttpRequestFeature, IHttpRequestIdentifierFeature, IHttpRequestLifetimeFeature, IHttpResponseFeature, IHttpSendFileFeature, IHttpWebSocketFeature, IOwinEnvironmentFeature, ITlsConnectionFeature
Public Class OwinFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object)), IFeatureCollection, IHttpAuthenticationFeature, IHttpConnectionFeature, IHttpRequestFeature, IHttpRequestIdentifierFeature, IHttpRequestLifetimeFeature, IHttpResponseBodyFeature, IHttpResponseFeature, IHttpWebSocketFeature, IOwinEnvironmentFeature, ITlsConnectionFeature
Наследование
OwinFeatureCollection
Реализации

Конструкторы

OwinFeatureCollection(IDictionary<String,Object>)

Инициализирует новый экземпляр OwinFeatureCollection.

Свойства

Environment

Возвращает или задает значения среды OWIN.

IsReadOnly

Указывает, можно ли изменить коллекцию.

Item[Type]

Возвращает или задает определенную функцию. Установка значения NULL удаляет функцию.

Revision

Увеличивается для каждого изменения и может использоваться для проверки кэшированных результатов.

SupportsWebSockets

Возвращает или задает, если базовый сервер поддерживает WebSockets. Эта функция включена по умолчанию. Значение должно быть согласовано между запросами.

Методы

Dispose()

Коллекция компонентов OWIN.

Get(Type)

Коллекция компонентов OWIN.

Get<TFeature>()

Извлекает запрошенную функцию из коллекции.

GetEnumerator()

Коллекция компонентов OWIN.

Set(Type, Object)

Коллекция компонентов OWIN.

Set<TFeature>(TFeature)

Задает данную функцию в коллекции.

Явные реализации интерфейса

IEnumerable.GetEnumerator()

Коллекция компонентов OWIN.

IHttpAuthenticationFeature.Handler

Коллекция компонентов OWIN.

IHttpAuthenticationFeature.User

Коллекция компонентов OWIN.

IHttpConnectionFeature.ConnectionId

Коллекция компонентов OWIN.

IHttpConnectionFeature.LocalIpAddress

Коллекция компонентов OWIN.

IHttpConnectionFeature.LocalPort

Коллекция компонентов OWIN.

IHttpConnectionFeature.RemoteIpAddress

Коллекция компонентов OWIN.

IHttpConnectionFeature.RemotePort

Коллекция компонентов OWIN.

IHttpRequestFeature.Body

Коллекция компонентов OWIN.

IHttpRequestFeature.Headers

Коллекция компонентов OWIN.

IHttpRequestFeature.Method

Коллекция компонентов OWIN.

IHttpRequestFeature.Path

Коллекция компонентов OWIN.

IHttpRequestFeature.PathBase

Коллекция компонентов OWIN.

IHttpRequestFeature.Protocol

Коллекция компонентов OWIN.

IHttpRequestFeature.QueryString

Коллекция компонентов OWIN.

IHttpRequestFeature.RawTarget

Коллекция компонентов OWIN.

IHttpRequestFeature.Scheme

Коллекция компонентов OWIN.

IHttpRequestIdentifierFeature.TraceIdentifier

Коллекция компонентов OWIN.

IHttpRequestLifetimeFeature.Abort()

Коллекция компонентов OWIN.

IHttpRequestLifetimeFeature.RequestAborted

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.CompleteAsync()

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.DisableBuffering()

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.StartAsync(CancellationToken)

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.Stream

Коллекция компонентов OWIN.

IHttpResponseBodyFeature.Writer

Коллекция компонентов OWIN.

IHttpResponseFeature.Body

Коллекция компонентов OWIN.

IHttpResponseFeature.HasStarted

Коллекция компонентов OWIN.

IHttpResponseFeature.Headers

Коллекция компонентов OWIN.

IHttpResponseFeature.OnCompleted(Func<Object,Task>, Object)

Коллекция компонентов OWIN.

IHttpResponseFeature.OnStarting(Func<Object,Task>, Object)

Коллекция компонентов OWIN.

IHttpResponseFeature.ReasonPhrase

Коллекция компонентов OWIN.

IHttpResponseFeature.StatusCode

Коллекция компонентов OWIN.

IHttpSendFileFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)

Коллекция компонентов OWIN.

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

Коллекция компонентов OWIN.

IHttpWebSocketFeature.IsWebSocketRequest

Коллекция компонентов OWIN.

ITlsConnectionFeature.ClientCertificate

Коллекция компонентов OWIN.

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

Коллекция компонентов OWIN.

Методы расширения

GetRequiredFeature(IFeatureCollection, Type)

Извлекает запрошенную функцию из коллекции. Создает InvalidOperationException, если функция отсутствует.

GetRequiredFeature<TFeature>(IFeatureCollection)

Извлекает запрошенную функцию из коллекции. Создает InvalidOperationException, если функция отсутствует.

Применяется к