public SharedUnitIndexCustomField(SharedUnitIndexCustomFieldId 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;
        }
Example #2
0
 private void removeSharedCustomField(SharedUnitIndexCustomFieldId key)
 {
     customFieldValues.Remove(key);
 }