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

            _behaviours = behaviours;
            _pipeline   = pipeline;
        }
示例#2
0
 public void Dispose()
 {
     _behaviours = null;
     _pipeline   = null;
 }