Share via


IEffectsBuilder.Add Method

Definition

Overloads

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

Add(Type, Type)

Source:
IEffectsBuilder.cs
Source:
IEffectsBuilder.cs
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

Parameters

TEffect
Type
TPlatformEffect
Type

Returns

Applies to

Add<TEffect,TPlatformEffect>()

Source:
IEffectsBuilder.cs
Source:
IEffectsBuilder.cs
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

Type Parameters

TEffect
TPlatformEffect

Returns

Applies to