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