Since the majority of handlers are stateless it is cumbersome to have to add the IsReusable property to each handler.
Rather create a separate IReusability interface that can be implemented in scenarios where the developer would like to specify whether or not the handler can be re-used.
This interface should be placed in Shuttle.Core.Infrastructure.
Since the majority of handlers are stateless it is cumbersome to have to add the
IsReusable
property to each handler.Rather create a separate
IReusability
interface that can be implemented in scenarios where the developer would like to specify whether or not the handler can be re-used.This interface should be placed in
Shuttle.Core.Infrastructure
.