示例#1
0
 public SharedUnit(SharedUnitId id,
                   string name,
                   string dictionaryName)
 {
     if (id == null)
     {
         throw new ArgumentNullException("id");
     }
     this.id             = id;
     this.name           = name;
     this.dictionaryName = dictionaryName;
 }
示例#2
0
文件: UnitId.cs 项目: mehabadi/HPMS
 public UnitId(PeriodId periodId, SharedUnitId sharedUnitId)
 {
     this.periodId     = periodId;
     this.sharedUnitId = sharedUnitId;
 }