다음을 통해 공유


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

기본 서버에서 WebSocket을 지원하는지 여부를 가져오거나 설정합니다. 기본적으로 사용하도록 설정됩니다. 값은 요청 간에 일관되어야 합니다.

메서드

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 throw합니다.

GetRequiredFeature<TFeature>(IFeatureCollection)

컬렉션에서 요청된 기능을 검색합니다. 기능이 없으면 InvalidOperationException throw합니다.

적용 대상