OwinEnvironment.FeatureMap 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OwinEnvironment.FeatureMap(Type, Func<Object,Object>)
OwinEnvironment.FeatureMap為指定的功能介面類別型建立 。
public:
FeatureMap(Type ^ featureInterface, Func<System::Object ^, System::Object ^> ^ getter);
public FeatureMap (Type featureInterface, Func<object,object> getter);
new Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap : Type * Func<obj, obj> -> Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap
Public Sub New (featureInterface As Type, getter As Func(Of Object, Object))
參數
- featureInterface
- Type
功能介面類別型。
適用於
OwinEnvironment.FeatureMap(Type, Func<Object,Object>, Action<Object,Object>)
針對指定的功能介面類別型,初始化 的新實例 OwinEnvironment.FeatureMap 。
public:
FeatureMap(Type ^ featureInterface, Func<System::Object ^, System::Object ^> ^ getter, Action<System::Object ^, System::Object ^> ^ setter);
public FeatureMap (Type featureInterface, Func<object,object> getter, Action<object,object> setter);
new Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap : Type * Func<obj, obj> * Action<obj, obj> -> Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap
Public Sub New (featureInterface As Type, getter As Func(Of Object, Object), setter As Action(Of Object, Object))
參數
- featureInterface
- Type
功能介面類別型。
適用於
OwinEnvironment.FeatureMap(Type, Func<Object,Object>, Func<Object>)
針對指定的功能介面類別型,初始化 的新實例 OwinEnvironment.FeatureMap 。
public:
FeatureMap(Type ^ featureInterface, Func<System::Object ^, System::Object ^> ^ getter, Func<System::Object ^> ^ defaultFactory);
public FeatureMap (Type featureInterface, Func<object,object> getter, Func<object> defaultFactory);
new Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap : Type * Func<obj, obj> * Func<obj> -> Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap
Public Sub New (featureInterface As Type, getter As Func(Of Object, Object), defaultFactory As Func(Of Object))
參數
- featureInterface
- Type
功能介面類別型。
適用於
OwinEnvironment.FeatureMap(Type, Func<Object,Object>, Func<Object>, Action<Object,Object>)
針對指定的功能介面類別型,初始化 的新實例 OwinEnvironment.FeatureMap 。
public:
FeatureMap(Type ^ featureInterface, Func<System::Object ^, System::Object ^> ^ getter, Func<System::Object ^> ^ defaultFactory, Action<System::Object ^, System::Object ^> ^ setter);
public FeatureMap (Type featureInterface, Func<object,object> getter, Func<object> defaultFactory, Action<object,object> setter);
new Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap : Type * Func<obj, obj> * Func<obj> * Action<obj, obj> -> Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap
Public Sub New (featureInterface As Type, getter As Func(Of Object, Object), defaultFactory As Func(Of Object), setter As Action(Of Object, Object))
參數
- featureInterface
- Type
功能介面類別型。
適用於
OwinEnvironment.FeatureMap(Type, Func<Object,Object>, Func<Object>, Action<Object,Object>, Func<Object>)
針對指定的功能介面類別型,初始化 的新實例 OwinEnvironment.FeatureMap 。
public:
FeatureMap(Type ^ featureInterface, Func<System::Object ^, System::Object ^> ^ getter, Func<System::Object ^> ^ defaultFactory, Action<System::Object ^, System::Object ^> ^ setter, Func<System::Object ^> ^ featureFactory);
public FeatureMap (Type featureInterface, Func<object,object> getter, Func<object> defaultFactory, Action<object,object> setter, Func<object> featureFactory);
new Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap : Type * Func<obj, obj> * Func<obj> * Action<obj, obj> * Func<obj> -> Microsoft.AspNetCore.Owin.OwinEnvironment.FeatureMap
Public Sub New (featureInterface As Type, getter As Func(Of Object, Object), defaultFactory As Func(Of Object), setter As Action(Of Object, Object), featureFactory As Func(Of Object))
參數
- featureInterface
- Type
功能介面類別型。