/// <summary>Get the number of attributes in this set.</summary> /// <returns>size</returns> public virtual int Size() { if (attributes == null) { return(0); } return(attributes.Count()); }