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