Compartilhar via


OwinFeatureCollection Classe

Definição

Coleção de recursos 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
Herança
OwinFeatureCollection
Implementações

Construtores

OwinFeatureCollection(IDictionary<String,Object>)

Inicializa uma nova instância de OwinFeatureCollection.

Propriedades

Environment

Obtém ou define valores de ambiente OWIN.

IsReadOnly

Indica se a coleção pode ser modificada.

Item[Type]

Obtém ou define um determinado recurso. Definir um valor nulo remove o recurso.

Revision

Incrementado para cada modificação e pode ser usado para verificar os resultados armazenados em cache.

SupportsWebSockets

Obtém ou define se o servidor subjacente dá suporte a WebSockets. Isso é habilitado por padrão. O valor deve ser consistente entre solicitações.

Métodos

Dispose()

Coleção de recursos OWIN.

Get(Type)

Coleção de recursos OWIN.

Get<TFeature>()

Recupera o recurso solicitado da coleção.

GetEnumerator()

Coleção de recursos OWIN.

Set(Type, Object)

Coleção de recursos OWIN.

Set<TFeature>(TFeature)

Define o recurso especificado na coleção.

Implantações explícitas de interface

IEnumerable.GetEnumerator()

Coleção de recursos OWIN.

IHttpAuthenticationFeature.Handler

Coleção de recursos OWIN.

IHttpAuthenticationFeature.User

Coleção de recursos OWIN.

IHttpConnectionFeature.ConnectionId

Coleção de recursos OWIN.

IHttpConnectionFeature.LocalIpAddress

Coleção de recursos OWIN.

IHttpConnectionFeature.LocalPort

Coleção de recursos OWIN.

IHttpConnectionFeature.RemoteIpAddress

Coleção de recursos OWIN.

IHttpConnectionFeature.RemotePort

Coleção de recursos OWIN.

IHttpRequestFeature.Body

Coleção de recursos OWIN.

IHttpRequestFeature.Headers

Coleção de recursos OWIN.

IHttpRequestFeature.Method

Coleção de recursos OWIN.

IHttpRequestFeature.Path

Coleção de recursos OWIN.

IHttpRequestFeature.PathBase

Coleção de recursos OWIN.

IHttpRequestFeature.Protocol

Coleção de recursos OWIN.

IHttpRequestFeature.QueryString

Coleção de recursos OWIN.

IHttpRequestFeature.RawTarget

Coleção de recursos OWIN.

IHttpRequestFeature.Scheme

Coleção de recursos OWIN.

IHttpRequestIdentifierFeature.TraceIdentifier

Coleção de recursos OWIN.

IHttpRequestLifetimeFeature.Abort()

Coleção de recursos OWIN.

IHttpRequestLifetimeFeature.RequestAborted

Coleção de recursos OWIN.

IHttpResponseBodyFeature.CompleteAsync()

Coleção de recursos OWIN.

IHttpResponseBodyFeature.DisableBuffering()

Coleção de recursos OWIN.

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

Coleção de recursos OWIN.

IHttpResponseBodyFeature.StartAsync(CancellationToken)

Coleção de recursos OWIN.

IHttpResponseBodyFeature.Stream

Coleção de recursos OWIN.

IHttpResponseBodyFeature.Writer

Coleção de recursos OWIN.

IHttpResponseFeature.Body

Coleção de recursos OWIN.

IHttpResponseFeature.HasStarted

Coleção de recursos OWIN.

IHttpResponseFeature.Headers

Coleção de recursos OWIN.

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

Coleção de recursos OWIN.

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

Coleção de recursos OWIN.

IHttpResponseFeature.ReasonPhrase

Coleção de recursos OWIN.

IHttpResponseFeature.StatusCode

Coleção de recursos OWIN.

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

Coleção de recursos OWIN.

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

Coleção de recursos OWIN.

IHttpWebSocketFeature.IsWebSocketRequest

Coleção de recursos OWIN.

ITlsConnectionFeature.ClientCertificate

Coleção de recursos OWIN.

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

Coleção de recursos OWIN.

Métodos de Extensão

GetRequiredFeature(IFeatureCollection, Type)

Recupera o recurso solicitado da coleção. Gerará um InvalidOperationException se o recurso não estiver presente.

GetRequiredFeature<TFeature>(IFeatureCollection)

Recupera o recurso solicitado da coleção. Gerará um InvalidOperationException se o recurso não estiver presente.

Aplica-se a