public JobIndex(AbstractJobIndexId jobIndexId, JobIndexCategory category, string name, string dictionaryName) : base(jobIndexId, name, dictionaryName) { if (category == null) { throw new ArgumentException("category is null"); } this.category = category; }
public AbstractJobIndex(AbstractJobIndexId abstractJobIndexId, string name, string dictionaryName) { if (abstractJobIndexId == null) { throw new ArgumentNullException("AbstractJobIndexId"); } this.id = abstractJobIndexId; if (string.IsNullOrWhiteSpace(name)) { throw new JobIndexArgumentException("JobIndex", "Name"); } this.name = name; if (string.IsNullOrWhiteSpace(name)) { throw new JobIndexArgumentException("JobIndex", "DictionaryName"); } this.dictionaryName = dictionaryName; }
public JobIndexCategory(AbstractJobIndexId jobIndexCategoryId, JobIndexCategory parent, string name, string dictionaryName) : base(jobIndexCategoryId, name, dictionaryName) { this.parent = parent; }