private void OnChangedCurrentCultureEvent(ChangedCurrentCultureEventArgs e) { var handler = ChangedCurrentCultureEvent; if (handler != null) { handler(this, e); } }
private static void CounterBusiness_ChangedCurrentCultureEvent(object sender, ChangedCurrentCultureEventArgs e) { System.Console.WriteLine("Changed culture from {0} to {1} to be able to read counters.", e.PreviousCulture, e.NewCulture); }
private void ChangedCurrentCultureEvent(object sender, ChangedCurrentCultureEventArgs e) { _console.WriteLine($"Changed culture from {e.PreviousCulture} to {e.NewCulture}.", OutputLevel.Information, null); }
private void ChangedCurrentCultureEvent(object sender, ChangedCurrentCultureEventArgs e) { _console.WriteLine(string.Format("Changed culture from {0} to {1}.", e.PreviousCulture, e.NewCulture), OutputLevel.Information, null); }