private static ITypeContext GetTypeContext(ITypeFactory typeFactory) { var xamlNamespaceRegistry = CreateXamlNamespaceRegistry(); var xamlTypeRepository = new WpfXamlTypeRepository(xamlNamespaceRegistry, typeFactory, GetFeatureProvider()); return(new TypeContext(xamlTypeRepository, xamlNamespaceRegistry, typeFactory)); }
private static ITypeContext GetTypeContext(ITypeFactory typeFactory) { var xamlNamespaceRegistry = CreateXamlNamespaceRegistry(); var xamlTypeRepository = new WpfXamlTypeRepository(xamlNamespaceRegistry, typeFactory, GetFeatureProvider()); return new TypeContext(xamlTypeRepository, xamlNamespaceRegistry, typeFactory); }