13 references to PlatformEffect
Microsoft.Maui.Controls (10)
Effect.cs (1)
16
internal
PlatformEffect
PlatformEffect { get; set; }
Element\Element.cs (1)
1050
var
platformEffect = EffectsFactory.CreateEffect(effect);
Hosting\Effects\AppHostBuilderExtensions.cs (7)
72
internal Dictionary<Type, Func<
PlatformEffect
>> RegisteredEffects { get; } = new Dictionary<Type, Func<
PlatformEffect
>>();
76
where TPlatformEffect :
PlatformEffect
, new()
94
return (
PlatformEffect
)DependencyResolver.ResolveOrCreate(TPlatformEffect);
103
private readonly Dictionary<Type, Func<
PlatformEffect
>> _registeredEffects;
118
internal
PlatformEffect
CreateEffect(Effect fromEffect)
120
if (_registeredEffects != null && _registeredEffects.TryGetValue(fromEffect.GetType(), out Func<
PlatformEffect
> effectType))
Hosting\Effects\IEffectsBuilder.cs (1)
12
where TPlatformEffect :
PlatformEffect
, new();
Microsoft.Maui.Controls.Compatibility (3)
Tizen\Renderers\VisualElementRenderer.cs (3)
231
var
platformEffect = effect as
PlatformEffect
;
696
void OnRegisterEffect(
PlatformEffect
effect)