PropertyMapperExtensions.PrependToMapping 메서드

정의

오버로드

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView>)

기존 속성 매핑 전에 실행할 메서드를 지정하지만 형식이 일치하지 않으면 건너뜁니다.

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

기존 속성 매핑 전에 실행할 메서드를 지정합니다.

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView>)

기존 속성 매핑 전에 실행할 메서드를 지정하지만 형식이 일치하지 않으면 건너뜁니다.

public:
generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : Microsoft::Maui::IElement where TViewHandler : Microsoft::Maui::IElementHandler[System::Runtime::CompilerServices::Extension]
 static void PrependToMapping(Microsoft::Maui::IPropertyMapper<Microsoft::Maui::IElement ^, Microsoft::Maui::IElementHandler ^> ^ propertyMapper, System::String ^ key, Action<TViewHandler, TVirtualView> ^ method);
public static void PrependToMapping<TVirtualView,TViewHandler> (this Microsoft.Maui.IPropertyMapper<Microsoft.Maui.IElement,Microsoft.Maui.IElementHandler> propertyMapper, string key, Action<TViewHandler,TVirtualView> method) where TVirtualView : Microsoft.Maui.IElement where TViewHandler : Microsoft.Maui.IElementHandler;
static member PrependToMapping : Microsoft.Maui.IPropertyMapper<Microsoft.Maui.IElement, Microsoft.Maui.IElementHandler> * string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)
<Extension()>
Public Sub PrependToMapping(Of TVirtualView As IElement, TViewHandler As IElement) (propertyMapper As IPropertyMapper(Of IElement, IElementHandler), key As String, method As Action(Of TViewHandler, TVirtualView))

형식 매개 변수

TVirtualView

플랫폼 간 유형입니다.

TViewHandler

처리기 형식입니다.

매개 변수

propertyMapper
IPropertyMapper<IElement,IElementHandler>

매핑을 변경할 속성 매퍼입니다.

key
String

속성의 이름입니다.

method
Action<TViewHandler,TVirtualView>

기존 매핑이 시작되기 전에 호출할 메서드입니다.

적용 대상

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

기존 속성 매핑 전에 실행할 메서드를 지정합니다.

public:
generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : Microsoft::Maui::IElement where TViewHandler : Microsoft::Maui::IElementHandler[System::Runtime::CompilerServices::Extension]
 static void PrependToMapping(Microsoft::Maui::IPropertyMapper<TVirtualView, TViewHandler> ^ propertyMapper, System::String ^ key, Action<TViewHandler, TVirtualView> ^ method);
public static void PrependToMapping<TVirtualView,TViewHandler> (this Microsoft.Maui.IPropertyMapper<TVirtualView,TViewHandler> propertyMapper, string key, Action<TViewHandler,TVirtualView> method) where TVirtualView : Microsoft.Maui.IElement where TViewHandler : Microsoft.Maui.IElementHandler;
static member PrependToMapping : Microsoft.Maui.IPropertyMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)> * string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)
<Extension()>
Public Sub PrependToMapping(Of TVirtualView As IElement, TViewHandler As IElement) (propertyMapper As IPropertyMapper(Of TVirtualView, TViewHandler), key As String, method As Action(Of TViewHandler, TVirtualView))

형식 매개 변수

TVirtualView

플랫폼 간 유형입니다.

TViewHandler

처리기 형식입니다.

매개 변수

propertyMapper
IPropertyMapper<TVirtualView,TViewHandler>

매핑을 변경할 속성 매퍼입니다.

key
String

속성의 이름입니다.

method
Action<TViewHandler,TVirtualView>

기존 매핑이 시작되기 전에 호출할 메서드입니다.

적용 대상