public static void MapThumbColor(ISwitchHandler handler, ISwitch view) { if (handler is SwitchHandler platformHandler) { handler.PlatformView?.UpdateThumbColor(view); } }
private static void WeaveSwitches( ISwitchHandler switchHandler, TypeDefinition clazz, IWeavingContext context, IClassWeavingStatisticsBuilder statistics) { var switchData = switchHandler.GetData().ToList(); if (switchData.Any()) { SwitchInitializationWeaver.Weave(clazz, context, switchData, statistics); } }
public static void MapIsOn(ISwitchHandler handler, ISwitch view) { handler.PlatformView?.UpdateIsOn(view); }
public static void MapTrackColor(ISwitchHandler handler, ISwitch view) { handler.PlatformView?.UpdateTrackColor(view); }
public static void MapIsOn(ISwitchHandler handler, ISwitch view) { }
public static void MapThumbColor(ISwitchHandler handler, ISwitch view) { }