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

            _behaviours = behaviours;
            _pipeline   = pipeline;
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     _behaviours = null;
     _pipeline   = null;
 }