Exemplo n.º 1
0
        public void InitializeNonparsableProperties(out IEnumerable <IConceptInfo> createdConcepts)
        {
            if (Referenced != null && Referenced != DataStructure)
            {
                throw new DslSyntaxException(this, string.Format(
                                                 "Incorrectly constructed Hierarchy property: it should reference itself. Reference='{0}', DataStructure='{1}'.",
                                                 Referenced.GetUserDescription(),
                                                 DataStructure.GetUserDescription()));
            }

            Referenced      = DataStructure;
            createdConcepts = null;
        }