Beispiel #1
0
        public Job(Period period, SharedJob sharedJob)
        {
            if (period == null)
            {
                throw new ArgumentNullException("period");
            }
            period.CheckAssigningJob();
            if (sharedJob == null)
            {
                throw new ArgumentNullException("sharedJob");
            }
            id = new JobId(period.Id, sharedJob.Id);

            this.sharedJob = sharedJob;
            customFields   = new List <JobCustomField>();
            jobIndexList   = new List <JobJobIndex>();
        }