protected override (ITypeSpecBuilder, IImmutableDictionary <string, ITypeSpecBuilder>) LoadSpecification(ParallelReflector reflector) { IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary(); (_, metamodel) = reflector.LoadSpecification(typeof(IEnumerable <char>), metamodel); (_, metamodel) = reflector.LoadSpecification(typeof(string), metamodel); (_, metamodel) = reflector.IntrospectSpecification(typeof(IEnumerable <char>), metamodel, () => new Introspector(reflector, reflector.FacetFactorySet, null)); return(reflector.IntrospectSpecification(typeof(string), metamodel, () => new Introspector(reflector, reflector.FacetFactorySet, null))); }
protected override Tuple <ITypeSpecBuilder, IImmutableDictionary <string, ITypeSpecBuilder> > LoadSpecification(ParallelReflector reflector) { IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary(); metamodel = reflector.LoadSpecification(typeof(IEnumerable <char>), metamodel).Item2; metamodel = reflector.LoadSpecification(typeof(string), metamodel).Item2; metamodel = reflector.IntrospectSpecification(typeof(IEnumerable <char>), metamodel).Item2; return(reflector.IntrospectSpecification(typeof(string), metamodel)); }