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
- Реализации
-
IHttpAuthenticationFeature IFeatureCollection IHttpConnectionFeature IHttpRequestFeature IHttpRequestIdentifierFeature IHttpRequestLifetimeFeature IHttpResponseFeature IHttpSendFileFeature IHttpWebSocketFeature ITlsConnectionFeature IOwinEnvironmentFeature IEnumerable<KeyValuePair<Type,Object>> IEnumerable IHttpResponseBodyFeature
Конструкторы
OwinFeatureCollection(IDictionary<String,Object>) |
Инициализирует новый экземпляр OwinFeatureCollection. |
Свойства
Environment |
Возвращает или задает значения среды OWIN. |
IsReadOnly |
Указывает, можно ли изменить коллекцию. |
Item[Type] |
Возвращает или задает определенную функцию. Установка значения NULL удаляет функцию. |
Revision |
Увеличивается для каждого изменения и может использоваться для проверки кэшированных результатов. |
SupportsWebSockets |
Возвращает или задает, если базовый сервер поддерживает WebSockets. Эта функция включена по умолчанию. Значение должно быть согласовано между запросами. |
Методы
Dispose() |
Коллекция компонентов OWIN. |
Get(Type) |
Коллекция компонентов OWIN. |
Get<TFeature>() |
Извлекает запрошенную функцию из коллекции. |
GetEnumerator() |
Коллекция компонентов OWIN. |
Set(Type, Object) |
Коллекция компонентов OWIN. |
Set<TFeature>(TFeature) |
Задает данную функцию в коллекции. |
Явные реализации интерфейса
Методы расширения
GetRequiredFeature(IFeatureCollection, Type) |
Извлекает запрошенную функцию из коллекции. Создает InvalidOperationException, если функция отсутствует. |
GetRequiredFeature<TFeature>(IFeatureCollection) |
Извлекает запрошенную функцию из коллекции. Создает InvalidOperationException, если функция отсутствует. |