public void AddAttribute()

in src/Event/CustomEvent.cs [198:224]


        public void AddAttribute(string attributeName, string attributeValue)
        {
            if(string.IsNullOrEmpty(attributeName))
            {
                throw new ArgumentNullException("attributeName");
            }

            if (null == attributeValue)
            {
                throw new ArgumentNullException("attributeValue");                
            }

            if(attributeName.Length > MAX_KEY_SIZE)
            {
                throw new ArgumentException("Length of attributeName " + attributeName+" is more than " + MAX_KEY_SIZE);
            }
            
            if(attributeValue.Length > MAX_ATTRIB_VALUE_SIZE)
            {
                throw new ArgumentException("Length of attributeValue is more than " + MAX_ATTRIB_VALUE_SIZE);
            }
            
            lock(_lock)
            {
                _attributes[attributeName] = attributeValue;
            }
        }