Exemplo n.º 1
0
 public static void InvokeTestLogic(AutoTestTag tag, Action dele, float delay = 1f)
 {
     if (!AutoTestController.IsEnable(tag) || dele == null)
     {
         return;
     }
     if (delay < 1.401298E-45f)
     {
         dele();
     }
     else
     {
         new Task(AutoTestController.Delay(dele, delay), true);
     }
 }
Exemplo n.º 2
0
 public AutoTestEventBase(AutoTestTag tag)
 {
     this.Tag = tag;
 }
Exemplo n.º 3
0
 public static void RemoveHandler(string name, AutoTestTag tag, EventHandler <AutoTestEventBase> handler)
 {
     if (AutoTestController.IsEnable(tag))
     {
     }
 }
Exemplo n.º 4
0
 public static bool IsEnable(AutoTestTag tag)
 {
     return(GlobalSettings.Instance.autoTestSetting.testLevel >= tag);
 }