maui-linux/Xamarin.Forms.Core/RoutingEffect.cs

42 строки
675 B
C#
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
using System.ComponentModel;
namespace Xamarin.Forms
{
public class RoutingEffect : Effect
{
internal readonly Effect Inner;
protected RoutingEffect(string effectId)
{
Inner = Resolve(effectId);
}
protected override void OnAttached()
{
}
protected override void OnDetached()
{
}
internal override void ClearEffect()
{
Inner?.ClearEffect();
}
internal override void SendAttached()
{
Inner?.SendAttached();
}
internal override void SendDetached()
{
Inner?.SendDetached();
}
internal override void SendOnElementPropertyChanged(PropertyChangedEventArgs args)
{
Inner?.SendOnElementPropertyChanged(args);
}
}
}