/// <summary> /// Access an attribute for the Sgroup. /// </summary> /// <param name="key">attribute key</param> public object GetValue(SgroupKey key) { if (!attributes.TryGetValue(key, out object o)) { return(null); } return(o); }
/// <summary> /// Store an attribute for the Sgroup. /// </summary> /// <param name="key">attribute key</param> /// <param name="val">attribute value</param> public void PutValue(SgroupKey key, object val) { attributes[key] = val; }