public bool Equals(Items other) { if ((object)other == null) { return(false); } return(SingleSchema == other.SingleSchema && (Schemas == null ? other.Schemas == null : Schemas.HasSameElementsAs(other.Schemas))); }