コード例 #1
0
ファイル: JobIndex.cs プロジェクト: mehabadi/HPMS
 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;
 }
コード例 #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;
 }
コード例 #3
0
 public JobIndexCategory(AbstractJobIndexId jobIndexCategoryId, JobIndexCategory parent, string name,
                         string dictionaryName)
     : base(jobIndexCategoryId, name, dictionaryName)
 {
     this.parent = parent;
 }