Ejemplo n.º 1
0
        public SharedJobPosition(SharedJobPositionId id,
                                 string name,
                                 string dictionaryName)
        {
            if (id == null)
            {
                throw new ArgumentNullException("id");
            }
            this.id = id;
            if (string.IsNullOrWhiteSpace(name))
            {
                throw new ArgumentNullException("name");
            }
            this.name = name;

            if (string.IsNullOrWhiteSpace(dictionaryName))
            {
                throw new ArgumentNullException("dictionaryName");
            }
            this.dictionaryName = dictionaryName;
        }
Ejemplo n.º 2
0
 public JobPositionId(PeriodId periodId, SharedJobPositionId sharedJobPositionId)
 {
     this.periodId            = periodId;
     this.sharedJobPositionId = sharedJobPositionId;
 }