OwinFeatureCollection Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Collection de fonctionnalités 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
- Héritage
-
OwinFeatureCollection
- Implémente
-
IHttpAuthenticationFeature IFeatureCollection IHttpConnectionFeature IHttpRequestFeature IHttpRequestIdentifierFeature IHttpRequestLifetimeFeature IHttpResponseFeature IHttpSendFileFeature IHttpWebSocketFeature ITlsConnectionFeature IOwinEnvironmentFeature IEnumerable<KeyValuePair<Type,Object>> IEnumerable IHttpResponseBodyFeature
Constructeurs
OwinFeatureCollection(IDictionary<String,Object>) |
Initialise une nouvelle instance de OwinFeatureCollection. |
Propriétés
Environment |
Obtient ou définit des valeurs d’environnement OWIN. |
IsReadOnly |
Indique si la collection peut être modifiée. |
Item[Type] |
Obtient ou définit une fonctionnalité donnée. La définition d’une valeur Null supprime la fonctionnalité. |
Revision |
Incrémenté pour chaque modification et peut être utilisé pour vérifier les résultats mis en cache. |
SupportsWebSockets |
Obtient ou définit si le serveur sous-jacent prend en charge les WebSockets. Cette option est activée par défaut. La valeur doit être cohérente entre les requêtes. |
Méthodes
Dispose() |
Collection de fonctionnalités OWIN. |
Get(Type) |
Collection de fonctionnalités OWIN. |
Get<TFeature>() |
Récupère la fonctionnalité demandée à partir de la collection. |
GetEnumerator() |
Collection de fonctionnalités OWIN. |
Set(Type, Object) |
Collection de fonctionnalités OWIN. |
Set<TFeature>(TFeature) |
Définit la fonctionnalité donnée dans la collection. |
Implémentations d’interfaces explicites
Méthodes d’extension
GetRequiredFeature(IFeatureCollection, Type) |
Récupère la fonctionnalité demandée à partir de la collection. Lève une InvalidOperationException si la fonctionnalité n’est pas présente. |
GetRequiredFeature<TFeature>(IFeatureCollection) |
Récupère la fonctionnalité demandée à partir de la collection. Lève une InvalidOperationException si la fonctionnalité n’est pas présente. |