public IEnumerable <IConceptInfo> CreateNewConcepts(HierarchyWithPathInfo conceptInfo, IDslModel existingConcepts)
        {
            var pathProperty = new LongStringPropertyInfo
            {
                DataStructure = conceptInfo.GetComputedDataStructure(),
                Name          = conceptInfo.PathName
            };

            return(new IConceptInfo[] { pathProperty });
        }
Esempio n. 2
0
        public new IEnumerable<IConceptInfo> CreateNewConcepts(IEnumerable<IConceptInfo> existingConcepts)
        {
            var pathProperty = new LongStringPropertyInfo
                {
                    DataStructure = GetComputedDataStructure(),
                    Name = PathName
                };

            return new IConceptInfo[] { pathProperty }
                .Concat(base.CreateNewConcepts(existingConcepts))
                .ToList();
        }