/// <summary> /// Signals the object that initialization is starting. /// </summary> public void BeginInit() { System.Diagnostics.Debug.WriteLine($"TaskEventWather: {nameof(BeginInit)}"); initializing = true; var localEnabled = enabled; StopRaisingEvents(); enabled = localEnabled; TaskService.BeginInit(); }