Exemplo n.º 1
0
        public SharedJobCustomField(SharedJobCustomFieldId id,
                                    string name,
                                    string dictionaryName, long minValue, long maxValue, string typeId)
        {
            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;
            this.minValue       = minValue;
            this.maxValue       = maxValue;
            this.typeId         = typeId;
        }
Exemplo n.º 2
0
 public JobCustomFieldId(PeriodId periodId, SharedJobCustomFieldId sharedJobCustomFieldId, SharedJobId sharedJobId)
 {
     this.sharedJobCustomFieldId = sharedJobCustomFieldId;
     this.sharedJobId            = sharedJobId;
     this.periodId = periodId;
 }