OwinFeatureCollection Sınıf

Tanım

OWIN özellik koleksiyonu.

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
Devralma
OwinFeatureCollection
Uygulamalar

Oluşturucular

OwinFeatureCollection(IDictionary<String,Object>)

yeni bir örneğini OwinFeatureCollectionbaşlatır.

Özellikler

Environment

OWIN ortam değerlerini alır veya ayarlar.

IsReadOnly

Koleksiyonun değiştirilip değiştirilebileceğini gösterir.

Item[Type]

Belirli bir özelliği alır veya ayarlar. Null değer ayarlamak özelliği kaldırır.

Revision

Her değişiklik için artırılır ve önbelleğe alınan sonuçları doğrulamak için kullanılabilir.

SupportsWebSockets

Temel alınan sunucu WebSockets'i destekliyorsa alır veya ayarlar. Bu, varsayılan olarak etkindir. Değer istekler arasında tutarlı olmalıdır.

Yöntemler

Dispose()

OWIN özellik koleksiyonu.

Get(Type)

OWIN özellik koleksiyonu.

Get<TFeature>()

İstenen özelliği koleksiyondan alır.

GetEnumerator()

OWIN özellik koleksiyonu.

Set(Type, Object)

OWIN özellik koleksiyonu.

Set<TFeature>(TFeature)

Koleksiyondaki verilen özelliği ayarlar.

Belirtik Arabirim Kullanımları

IEnumerable.GetEnumerator()

OWIN özellik koleksiyonu.

IHttpAuthenticationFeature.Handler

OWIN özellik koleksiyonu.

IHttpAuthenticationFeature.User

OWIN özellik koleksiyonu.

IHttpConnectionFeature.ConnectionId

OWIN özellik koleksiyonu.

IHttpConnectionFeature.LocalIpAddress

OWIN özellik koleksiyonu.

IHttpConnectionFeature.LocalPort

OWIN özellik koleksiyonu.

IHttpConnectionFeature.RemoteIpAddress

OWIN özellik koleksiyonu.

IHttpConnectionFeature.RemotePort

OWIN özellik koleksiyonu.

IHttpRequestFeature.Body

OWIN özellik koleksiyonu.

IHttpRequestFeature.Headers

OWIN özellik koleksiyonu.

IHttpRequestFeature.Method

OWIN özellik koleksiyonu.

IHttpRequestFeature.Path

OWIN özellik koleksiyonu.

IHttpRequestFeature.PathBase

OWIN özellik koleksiyonu.

IHttpRequestFeature.Protocol

OWIN özellik koleksiyonu.

IHttpRequestFeature.QueryString

OWIN özellik koleksiyonu.

IHttpRequestFeature.RawTarget

OWIN özellik koleksiyonu.

IHttpRequestFeature.Scheme

OWIN özellik koleksiyonu.

IHttpRequestIdentifierFeature.TraceIdentifier

OWIN özellik koleksiyonu.

IHttpRequestLifetimeFeature.Abort()

OWIN özellik koleksiyonu.

IHttpRequestLifetimeFeature.RequestAborted

OWIN özellik koleksiyonu.

IHttpResponseBodyFeature.CompleteAsync()

OWIN özellik koleksiyonu.

IHttpResponseBodyFeature.DisableBuffering()

OWIN özellik koleksiyonu.

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

OWIN özellik koleksiyonu.

IHttpResponseBodyFeature.StartAsync(CancellationToken)

OWIN özellik koleksiyonu.

IHttpResponseBodyFeature.Stream

OWIN özellik koleksiyonu.

IHttpResponseBodyFeature.Writer

OWIN özellik koleksiyonu.

IHttpResponseFeature.Body

OWIN özellik koleksiyonu.

IHttpResponseFeature.HasStarted

OWIN özellik koleksiyonu.

IHttpResponseFeature.Headers

OWIN özellik koleksiyonu.

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

OWIN özellik koleksiyonu.

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

OWIN özellik koleksiyonu.

IHttpResponseFeature.ReasonPhrase

OWIN özellik koleksiyonu.

IHttpResponseFeature.StatusCode

OWIN özellik koleksiyonu.

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

OWIN özellik koleksiyonu.

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

OWIN özellik koleksiyonu.

IHttpWebSocketFeature.IsWebSocketRequest

OWIN özellik koleksiyonu.

ITlsConnectionFeature.ClientCertificate

OWIN özellik koleksiyonu.

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

OWIN özellik koleksiyonu.

Uzantı Metotları

GetRequiredFeature(IFeatureCollection, Type)

İstenen özelliği koleksiyondan yeniden deneme. Özellik yoksa bir InvalidOperationException oluşturur.

GetRequiredFeature<TFeature>(IFeatureCollection)

İstenen özelliği koleksiyondan yeniden deneme. Özellik yoksa bir InvalidOperationException oluşturur.

Şunlara uygulanır