public static Collection<CatalogElement[]> GetElementsCollection(
MatchingParameterCollection matchingEntitiesCollection,
ICatalog catalog,
bool ignoreNullValueItems
)
matchingEntitiesCollection
A Leadtools.Medical.DataAccessLayer.MatchingParameterCollection that contains ICatalogEntity objects whose properties will be returned.
catalog
The ICatalog interface that describes the entities in the matchingEntitiesCollection.
ignoreNullValueItems
If this parameter is set to true, properties that have null (Nothing in VB) values won't be returned.
A Collection of CatalogElement array describing the properties annotated with EntityElementAttributein the ICatalogEntity.
All the ICatalogEntities in each Leadtools.Medical.DataAccessLayer.MatchingParameterList will be added as a separate array of CatalogElement in the Collection.
For each ICatalogEntity all properties annotated with the EntityElementAttribute will be enumerated. A key for each ICatalogEntity will be retrieved using ICatalogEntity.CatalogKey method. A key for each property will be retrieved using the following method: If the EntityElementAttribute.Name has a value (not null or empty string) then it will be used as the key value otherwise the actual Name of the System.Reflection.PropertyInfo will be used as the key. The CatalogDescriptor will use the ICatalog object to find the information of this catalog element and fill them in a CatalogElement object.