public void Register(IContainerRegistrar registrar)
 {
     registrar.RegisterFutureDefinition <TDefinition, TFuture>();
 }
 public void RegisterFutureDefinition <TDefinition, TFuture>()
     where TDefinition : class, IFutureDefinition <TFuture>
     where TFuture : MassTransitStateMachine <FutureState>
 {
     _registrar.RegisterFutureDefinition <TDefinition, TFuture>();
 }