示例#1
0
        private static SystemTypeMapperVisitor Visit(ITypeNode node)
        {
            var visitor = new SystemTypeMapperVisitor();

            node.Accept(visitor);
            return(visitor);
        }
示例#2
0
        public static MemberType MemberTypeFor(NamespaceName namespaceName, ITypeNode type, IEnumerable <KnownType> knownTypes)
        {
            var visitor = new MemberTypeMapperTypeNodeVisitor(namespaceName, knownTypes);

            type.Accept(visitor);
            return(visitor.MemberType);
        }