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); } }
public static void TriggerEvent(AutoTestEventBase msg) { if (AutoTestController.IsEnable(msg.Tag)) { } }
public static void RemoveHandler(string name, AutoTestTag tag, EventHandler <AutoTestEventBase> handler) { if (AutoTestController.IsEnable(tag)) { } }