Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 public JobIndexCategory(AbstractJobIndexId jobIndexCategoryId, JobIndexCategory parent, string name,
                         string dictionaryName)
     : base(jobIndexCategoryId, name, dictionaryName)
 {
     this.parent = parent;
 }