BExIS.Xml.Helpers.Mapping.XmlSchemaManager.getExistingMetadataCompoundAttribute C# (CSharp) Метод

getExistingMetadataCompoundAttribute() приватный Метод

private getExistingMetadataCompoundAttribute ( string name ) : MetadataCompoundAttribute
name string
Результат BExIS.Dlm.Entities.MetadataStructure.MetadataCompoundAttribute
        private MetadataCompoundAttribute getExistingMetadataCompoundAttribute(string name)
        {
            if (createdCompoundsDic.ContainsValue(name))
            {
                long id = createdCompoundsDic.Where(k => k.Value.Equals(name)).FirstOrDefault().Key;
                return metadataAttributeManager.MetadataCompoundAttributeRepo.Get(id);
            }
            return null;
        }