Sdílet prostřednictvím


IEffectsBuilder.Add Metoda

Definice

Přetížení

Add(Type, Type)
Add<TEffect,TPlatformEffect>()

Add(Type, Type)

public:
 Microsoft::Maui::Controls::Hosting::IEffectsBuilder ^ Add(Type ^ TEffect, Type ^ TPlatformEffect);
public Microsoft.Maui.Controls.Hosting.IEffectsBuilder Add (Type TEffect, Type TPlatformEffect);
abstract member Add : Type * Type -> Microsoft.Maui.Controls.Hosting.IEffectsBuilder
Public Function Add (TEffect As Type, TPlatformEffect As Type) As IEffectsBuilder

Parametry

TEffect
Type
TPlatformEffect
Type

Návraty

Platí pro

Add<TEffect,TPlatformEffect>()

public:
generic <typename TEffect, typename TPlatformEffect>
 where TEffect : Microsoft::Maui::Controls::RoutingEffect where TPlatformEffect : Microsoft::Maui::Controls::Platform::PlatformEffectgcnew() Microsoft::Maui::Controls::Hosting::IEffectsBuilder ^ Add();
public Microsoft.Maui.Controls.Hosting.IEffectsBuilder Add<TEffect,TPlatformEffect> () where TEffect : Microsoft.Maui.Controls.RoutingEffect where TPlatformEffect : Microsoft.Maui.Controls.Platform.PlatformEffect, new();
abstract member Add : unit -> Microsoft.Maui.Controls.Hosting.IEffectsBuilder (requires 'Effect :> Microsoft.Maui.Controls.RoutingEffect and 'PlatformEffect :> Microsoft.Maui.Controls.Platform.PlatformEffect and 'PlatformEffect : (new : unit -> 'PlatformEffect))
Public Function Add(Of TEffect As RoutingEffect, TPlatformEffect As RoutingEffect) () As IEffectsBuilder

Parametry typu

TEffect
TPlatformEffect

Návraty

Platí pro