OwinFeatureCollection Třída

Definice

Kolekce funkcí 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
Dědičnost
OwinFeatureCollection
Implementuje

Konstruktory

OwinFeatureCollection(IDictionary<String,Object>)

Inicializuje novou instanci OwinFeatureCollection.

Vlastnosti

Environment

Získá nebo nastaví hodnoty prostředí OWIN.

IsReadOnly

Označuje, jestli lze kolekci upravit.

Item[Type]

Získá nebo nastaví danou funkci. Nastavení hodnoty null odebere funkci.

Revision

Zvýší se pro každou změnu a dá se použít k ověření výsledků uložených v mezipaměti.

SupportsWebSockets

Získá nebo nastaví, pokud základní server podporuje WebSockets. Tato možnost je ve výchozím nastavení zapnutá. Hodnota by měla být konzistentní napříč požadavky.

Metody

Dispose() System.Object.Dispose
Get(Type) System.Object.Get(System.Type)
Get<TFeature>()

Načte požadovanou funkci z kolekce.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Set(Type, Object) System.Object.Set(System.Type,System.Object)
Set<TFeature>(TFeature)

Nastaví danou funkci v kolekci.

Explicitní implementace rozhraní

IEnumerable.GetEnumerator()
IHttpAuthenticationFeature.Handler
IHttpAuthenticationFeature.User
IHttpConnectionFeature.ConnectionId
IHttpConnectionFeature.LocalIpAddress
IHttpConnectionFeature.LocalPort
IHttpConnectionFeature.RemoteIpAddress
IHttpConnectionFeature.RemotePort
IHttpRequestFeature.Body
IHttpRequestFeature.Headers
IHttpRequestFeature.Method
IHttpRequestFeature.Path
IHttpRequestFeature.PathBase
IHttpRequestFeature.Protocol
IHttpRequestFeature.QueryString
IHttpRequestFeature.RawTarget
IHttpRequestFeature.Scheme
IHttpRequestIdentifierFeature.TraceIdentifier
IHttpRequestLifetimeFeature.Abort()
IHttpRequestLifetimeFeature.RequestAborted
IHttpResponseBodyFeature.CompleteAsync()
IHttpResponseBodyFeature.DisableBuffering()
IHttpResponseBodyFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)
IHttpResponseBodyFeature.StartAsync(CancellationToken)
IHttpResponseBodyFeature.Stream
IHttpResponseBodyFeature.Writer
IHttpResponseFeature.Body
IHttpResponseFeature.HasStarted
IHttpResponseFeature.Headers
IHttpResponseFeature.OnCompleted(Func<Object,Task>, Object)
IHttpResponseFeature.OnStarting(Func<Object,Task>, Object)
IHttpResponseFeature.ReasonPhrase
IHttpResponseFeature.StatusCode
IHttpSendFileFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)
IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)
IHttpWebSocketFeature.IsWebSocketRequest
ITlsConnectionFeature.ClientCertificate
ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

Platí pro