Esempio n. 1
0
 public ConnectHandle ConnectConsumerConfigurationObserver(IConsumerConfigurationObserver observer)
 {
     return(new MultipleConnectHandle(_consumerSpecification.ConnectConsumerConfigurationObserver(observer),
                                      SuperviseJobSpecification.ConnectConsumerConfigurationObserver(observer),
                                      StartJobSpecification.ConnectConsumerConfigurationObserver(observer),
                                      FinalizeJobSpecification.ConnectConsumerConfigurationObserver(observer),
                                      SubmitJobSpecification.ConnectConsumerConfigurationObserver(observer)));
 }
Esempio n. 2
0
 public IEnumerable <ValidationResult> Validate()
 {
     return(_consumerSpecification.Validate()
            .Concat(SuperviseJobSpecification.Validate())
            .Concat(StartJobSpecification.Validate())
            .Concat(FinalizeJobSpecification.Validate())
            .Concat(SubmitJobSpecification.Validate()));
 }