private static SystemTypeMapperVisitor Visit(ITypeNode node) { var visitor = new SystemTypeMapperVisitor(); node.Accept(visitor); return(visitor); }
public static MemberType MemberTypeFor(NamespaceName namespaceName, ITypeNode type, IEnumerable <KnownType> knownTypes) { var visitor = new MemberTypeMapperTypeNodeVisitor(namespaceName, knownTypes); type.Accept(visitor); return(visitor.MemberType); }