How can I set the priority of PipelineBehavior
s?
I have 3 pipeline. I want to execute AuthorizationPipeline
first. If the AuthorizationPipeline
throws any SecurityException, I am not going to execute other pipelines.
From the github wiki of MediatR: "Just register the behaviors in the order you would like them to be called."
https://github.com/jbogard/MediatR/wiki/Behaviors#registering-pipeline-behaviors
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With