/// <summary> /// Returns <c>true</c> if this element type can contain another element type. /// That is, if any of the models in this element's model vector /// match any of the models in the other element type's member-of /// vector. /// </summary> /// <param name="other">The other element type</param> public virtual bool CanContain(ElementType other) { return((Model & other.MemberOf) != 0); }