/// <summary> /// Init method, initializes the histogram and quantizer then triggers the event /// </summary> /// <see cref="InitFinished"/> public async void Init() { Histogram = await CountColors(); QuantizerReady = true; InitFinished?.Invoke(this, new EventArgs()); }
internal void OnInitFinished() => InitFinished?.Invoke(this, EventArgs.Empty);
internal static void OnInitFinished() => InitFinished?.Invoke(null, EventArgs.Empty);