IEffectsBuilder.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.