Ejemplo n.º 1
0
 /// <summary>
 /// Sets the current <see cref="IBackgroundErrorLogger"/>.
 /// </summary>
 /// <param name="value">An instance of <see cref="IBackgroundErrorLogger"/>.</param>
 public static void SetCurrent(IBackgroundErrorLogger value)
 {
     _current.Value = value ?? GetDefaultBackgroundErrorLogger();
 }
 /// <summary>
 /// Sets the current <see cref="IBackgroundErrorLogger"/>.
 /// </summary>
 /// <param name="value">An instance of <see cref="IBackgroundErrorLogger"/>.</param>
 public static void SetCurrent(IBackgroundErrorLogger value)
 {
     _current.Value = value ?? GetDefaultBackgroundErrorLogger();
 }