protected ReferenceList <T> GetReferenceList <T>(string key) where T : Element { var list = new ReferenceList <T>(); foreach (var id in GetList(key)) { list.Add(new Reference <T>(id)); } return(list); }
public ReferenceList <Property> GetAllProperties(Context context) { var properties = new ReferenceList <Property>(); properties.AddRange(Properties); properties.AddRange(ImportedProperties); var superclass = Superclass.Get(context); if (superclass != null) { properties.AddRange(superclass.GetAllProperties(context)); } return(properties); }