The processor type is not usable

The processor is abstract or generic, or does not implement the processor interface exactly once.

  • Error
  • BEVEL083

What it means

Bevel creates the processor itself, so it must be a plain class. Member processors use IProcessor<TSource, TResult>. Record processors use IProcessor<TItem>.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL083: [Process<MarkdownToHtml>("RawMarkdown")] on 'BlogPost.Html': processor 'MySite.Data.MarkdownToHtml' does not implement IProcessor<TSource, TResult>. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel083/

How to fix

Use a concrete, non-generic class that implements the processor interface once.