OwinFeatureCollection Klasa

Definicja

Kolekcja funkcji 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
Dziedziczenie
OwinFeatureCollection
Implementuje

Konstruktory

OwinFeatureCollection(IDictionary<String,Object>)

Inicjuje nowe wystąpienie klasy OwinFeatureCollection.

Właściwości

Environment

Pobiera lub ustawia wartości środowiska OWIN.

IsReadOnly

Wskazuje, czy można zmodyfikować kolekcję.

Item[Type]

Pobiera lub ustawia daną funkcję. Ustawienie wartości null powoduje usunięcie funkcji.

Revision

Zwiększana dla każdej modyfikacji i może służyć do weryfikowania buforowanych wyników.

SupportsWebSockets

Pobiera lub ustawia, jeśli podstawowy serwer obsługuje obiekty WebSocket. Ta opcja jest domyślnie włączona. Wartość powinna być spójna w obrębie żądań.

Metody

Dispose()

Kolekcja funkcji OWIN.

Get(Type)

Kolekcja funkcji OWIN.

Get<TFeature>()

Pobiera żądaną funkcję z kolekcji.

GetEnumerator()

Kolekcja funkcji OWIN.

Set(Type, Object)

Kolekcja funkcji OWIN.

Set<TFeature>(TFeature)

Ustawia daną funkcję w kolekcji.

Jawne implementacje interfejsu

IEnumerable.GetEnumerator()

Kolekcja funkcji OWIN.

IHttpAuthenticationFeature.Handler

Kolekcja funkcji OWIN.

IHttpAuthenticationFeature.User

Kolekcja funkcji OWIN.

IHttpConnectionFeature.ConnectionId

Kolekcja funkcji OWIN.

IHttpConnectionFeature.LocalIpAddress

Kolekcja funkcji OWIN.

IHttpConnectionFeature.LocalPort

Kolekcja funkcji OWIN.

IHttpConnectionFeature.RemoteIpAddress

Kolekcja funkcji OWIN.

IHttpConnectionFeature.RemotePort

Kolekcja funkcji OWIN.

IHttpRequestFeature.Body

Kolekcja funkcji OWIN.

IHttpRequestFeature.Headers

Kolekcja funkcji OWIN.

IHttpRequestFeature.Method

Kolekcja funkcji OWIN.

IHttpRequestFeature.Path

Kolekcja funkcji OWIN.

IHttpRequestFeature.PathBase

Kolekcja funkcji OWIN.

IHttpRequestFeature.Protocol

Kolekcja funkcji OWIN.

IHttpRequestFeature.QueryString

Kolekcja funkcji OWIN.

IHttpRequestFeature.RawTarget

Kolekcja funkcji OWIN.

IHttpRequestFeature.Scheme

Kolekcja funkcji OWIN.

IHttpRequestIdentifierFeature.TraceIdentifier

Kolekcja funkcji OWIN.

IHttpRequestLifetimeFeature.Abort()

Kolekcja funkcji OWIN.

IHttpRequestLifetimeFeature.RequestAborted

Kolekcja funkcji OWIN.

IHttpResponseBodyFeature.CompleteAsync()

Kolekcja funkcji OWIN.

IHttpResponseBodyFeature.DisableBuffering()

Kolekcja funkcji OWIN.

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

Kolekcja funkcji OWIN.

IHttpResponseBodyFeature.StartAsync(CancellationToken)

Kolekcja funkcji OWIN.

IHttpResponseBodyFeature.Stream

Kolekcja funkcji OWIN.

IHttpResponseBodyFeature.Writer

Kolekcja funkcji OWIN.

IHttpResponseFeature.Body

Kolekcja funkcji OWIN.

IHttpResponseFeature.HasStarted

Kolekcja funkcji OWIN.

IHttpResponseFeature.Headers

Kolekcja funkcji OWIN.

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

Kolekcja funkcji OWIN.

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

Kolekcja funkcji OWIN.

IHttpResponseFeature.ReasonPhrase

Kolekcja funkcji OWIN.

IHttpResponseFeature.StatusCode

Kolekcja funkcji OWIN.

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

Kolekcja funkcji OWIN.

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

Kolekcja funkcji OWIN.

IHttpWebSocketFeature.IsWebSocketRequest

Kolekcja funkcji OWIN.

ITlsConnectionFeature.ClientCertificate

Kolekcja funkcji OWIN.

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

Kolekcja funkcji OWIN.

Metody rozszerzania

GetRequiredFeature(IFeatureCollection, Type)

Pobiera żądaną funkcję z kolekcji. Zgłasza wyjątek InvalidOperationException , jeśli funkcja nie jest obecna.

GetRequiredFeature<TFeature>(IFeatureCollection)

Pobiera żądaną funkcję z kolekcji. Zgłasza wyjątek InvalidOperationException , jeśli funkcja nie jest obecna.

Dotyczy