Exemplo n.º 1
0
        public SharedJobIndexCustomField(SharedJobIndexCustomFieldId id,
                                         string name,
                                         string dictionaryName, long minValue, long maxValue)
        {
            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;
        }
Exemplo n.º 2
0
 private void removeSharedCustomField(SharedJobIndexCustomFieldId key)
 {
     customFieldValues.Remove(key);
 }