public TemplateContextGenerator(GeneratorConfig generatorConfig, TypeRegistry typeRegistry, TypeToCSharpConverter typeConverter, string defaultNamespace) { this.generatorConfig = generatorConfig; this.typeRegistry = typeRegistry; this.defaultNamespace = defaultNamespace; this.typeConverter = typeConverter; }
public DocumentContext(Uri tripUri, string _namespace, GeneratorConfig generatorConfig, TypeRegistry typeRegistry) { Document = IdlParser.BuildDocument(tripUri); this.tripUri = tripUri; Namespace = _namespace; this.generatorConfig = generatorConfig; TypeRegistry = typeRegistry; TypeConverter = new TypeToCSharpConverter(typeRegistry, _namespace, CSharpNamespace); }
public MapConverter(TypeToCSharpConverter typeToCSharpConverter) { this.typeToCSharpConverter = typeToCSharpConverter; }
public IdentifierConverter(TypeToCSharpConverter typeToCSharpConverter) { this.typeToCSharpConverter = typeToCSharpConverter; }