Cucumber.SimpleDb.Session.SessionSimpleDbItem.this C# (CSharp) Method

this() public method

public this ( string attributeName ) : SimpleDbAttributeValue
attributeName string
return SimpleDbAttributeValue
        public SimpleDbAttributeValue this[string attributeName]
        {
            get
            {
                if (!_attributes.HasAttribute(attributeName))
                {
                    return null;
                }
                return _attributes[attributeName].Value;
            }
            set
            {
                if (!_attributes.HasAttribute(attributeName))
                {
                    _attributes.Add(attributeName, value);
                }
                else
                {
                    _attributes[attributeName].Value = value;
                }
            }
        }