public CommandBehaviours(CommandPipeline <TCommand> pipeline, ICommandBehaviour <TCommand>[] behaviours)
        {
            HasBehaviours = behaviours.Length > 0;

            _behaviours = behaviours;
            _pipeline   = pipeline;
        }
 public void Dispose()
 {
     _behaviours = null;
     _pipeline   = null;
 }