Beispiel #1
0
        internal bool TryAdd(IJob job)
        {
            if (_disposed)
                throw new ObjectDisposedException(nameof(Batch));

            var configuration = job.GetConfiguration();
            if (!TryConfiguration(configuration))
                return false;

            _jobs.Add(job);
            return true;
        }