public void AddGlobalAttribute()

in src/Event/CustomEvent.cs [382:408]


        public void AddGlobalAttribute(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(_globalLock)
            {
                _globalAttributes[attributeName] = attributeValue;    
            }
        }