コード例 #1
0
 public static void MapThumbColor(ISwitchHandler handler, ISwitch view)
 {
     if (handler is SwitchHandler platformHandler)
     {
         handler.PlatformView?.UpdateThumbColor(view);
     }
 }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
 public static void MapIsOn(ISwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateIsOn(view);
 }
コード例 #4
0
ファイル: SwitchHandler.Tizen.cs プロジェクト: sung-su/maui
 public static void MapTrackColor(ISwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateTrackColor(view);
 }
コード例 #5
0
 public static void MapIsOn(ISwitchHandler handler, ISwitch view)
 {
 }
コード例 #6
0
 public static void MapThumbColor(ISwitchHandler handler, ISwitch view)
 {
 }