/// <summary> /// Provides a factory method for all the <see cref="RgbChannels"/> /// implementing the <see cref="IChannel"/>. /// </summary> public IChannel Get(RgbChannels filter) => filter switch {
public ApplyRgbChannelFilterEventArgs(RgbChannels channel) : base() { Channel = channel; }
public IRgbFilter Get(RgbChannels channel) => _factory.Get(channel);
/// <inheritdoc/> public Bitmap Apply(Bitmap bmp, RgbChannels color) => _cache.GetOrCreate(color, () => _rgb.Get(color).Filter(bmp) );