예제 #1
0
        public void Visit(Config config, Type t)
        {
            BaseSyntaxEntity baseSyntax = new BaseSyntaxEntity {
                Name = t.Name, FullName = t.FullName
            };

            _baseSyntaxRepository.Init(config);
            _baseSyntaxRepository.Create(baseSyntax);
            SyntaxCoollectionEntity syntax = new SyntaxCoollectionEntity {
                Name = t.Name, FullName = t.FullName
            };

            _syntaxRepository.Init(config);
            _syntaxRepository.Create(syntax);
        }
예제 #2
0
        public void Visit(Config config, Type t)
        {
            ConcreteSyntaxEntity concreteSyntax = new ConcreteSyntaxEntity {
                Name = t.Name, FullName = t.FullName, ParentFullName = t.BaseType.FullName
            };

            _concreteSyntaxRepository.Init(config);
            _concreteSyntaxRepository.Create(concreteSyntax);
            SyntaxCoollectionEntity syntax = new SyntaxCoollectionEntity {
                Name = t.Name, FullName = t.FullName
            };

            _syntaxRepository.Init(config);
            _syntaxRepository.Create(syntax);
        }