// specified attributes public virtual IEnumerable <PopupAttributes> GetFilledAttributes() { PXCache cache = Base.Caches[typeof(PopupAttributes)]; foreach (var field in GetPreparedAttributes()) { var item = (PopupAttributes)cache.Locate(field); if (item == null) { cache.Hold(field); } yield return(item ?? field); } }