public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (locker) { _LogSwitchLevelHandler = (LogSwitchLevelHandler) Delegate.Combine(_LogSwitchLevelHandler, handler); } }
public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (locker) { _LogSwitchLevelHandler = (LogSwitchLevelHandler)Delegate.Combine(_LogSwitchLevelHandler, handler); } }
public static void RemoveOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (locker) { _LogSwitchLevelHandler = (LogSwitchLevelHandler)Delegate.Remove(_LogSwitchLevelHandler, handler); } }
internal static void InvokeLogSwitchLevelHandlers(LogSwitch ls, LoggingLevels newLevel) { LogSwitchLevelHandler handler = _LogSwitchLevelHandler; if (handler != null) { handler(ls, newLevel); } }
// Token: 0x0600321C RID: 12828 RVA: 0x000C0588 File Offset: 0x000BE788 public static void RemoveOnLogSwitchLevel(LogSwitchLevelHandler handler) { object obj = Log.locker; lock (obj) { Log._LogSwitchLevelHandler = (LogSwitchLevelHandler)Delegate.Remove(Log._LogSwitchLevelHandler, handler); } }
// Token: 0x0600321B RID: 12827 RVA: 0x000C0534 File Offset: 0x000BE734 public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { object obj = Log.locker; lock (obj) { Log._LogSwitchLevelHandler = (LogSwitchLevelHandler)Delegate.Combine(Log._LogSwitchLevelHandler, handler); } }
internal static void InvokeLogSwitchLevelHandlers(LogSwitch ls, LoggingLevels newLevel) { LogSwitchLevelHandler switchLevelHandler = Log._LogSwitchLevelHandler; if (switchLevelHandler == null) { return; } switchLevelHandler(ls, newLevel); }
/// <include file='doc\log.uex' path='docs/doc[@for="Log.RemoveOnLogSwitchLevel"]/*' /> public static void RemoveOnLogSwitchLevel(LogSwitchLevelHandler handler) { _LogSwitchLevelHandler = (LogSwitchLevelHandler)MulticastDelegate.Remove(_LogSwitchLevelHandler, handler); }
/// <include file='doc\log.uex' path='docs/doc[@for="Log.AddOnLogSwitchLevel"]/*' /> public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { _LogSwitchLevelHandler = (LogSwitchLevelHandler)MulticastDelegate.Combine(_LogSwitchLevelHandler, handler); }
public static void RemoveOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (Log.locker) Log._LogSwitchLevelHandler -= handler; }
public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (Log.locker) Log._LogSwitchLevelHandler += handler; }
public static void RemoveOnLogSwitchLevel(LogSwitchLevelHandler handler) { lock (locker) _LogSwitchLevelHandler = (LogSwitchLevelHandler) MulticastDelegate.Remove(_LogSwitchLevelHandler, handler); }
/// <include file='doc\log.uex' path='docs/doc[@for="Log.AddOnLogSwitchLevel"]/*' /> public static void AddOnLogSwitchLevel(LogSwitchLevelHandler handler) { _LogSwitchLevelHandler = (LogSwitchLevelHandler) MulticastDelegate.Combine(_LogSwitchLevelHandler, handler); }