Пример #1
0
    public static void UnregisterEvent_Log(TsLog.OnEvent_Log eventFunc)
    {
        if (TsLog.Instance._eventLog == null)
        {
            return;
        }
        TsLog expr_15 = TsLog.Instance;

        expr_15._eventLog = (TsLog.OnEvent_Log)Delegate.Remove(expr_15._eventLog, eventFunc);
    }
Пример #2
0
 public static void RegisterEvent_Log(TsLog.OnEvent_Log eventFunc)
 {
     if (TsLog.Instance._eventLog == null)
     {
         TsLog.Instance._eventLog = eventFunc;
     }
     else
     {
         TsLog expr_24 = TsLog.Instance;
         expr_24._eventLog = (TsLog.OnEvent_Log)Delegate.Combine(expr_24._eventLog, eventFunc);
     }
 }