2 instantiations of CodeFile
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
ServiceClientCodeFactory.cs (2)
49file = new CodeFile(filePath, ""); 54_files[filePath] = new CodeFile(filePath, file.Contents + writer);
7 references to CodeFile
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
97List<CodeFile> code = codeFactory.GenerateCode(model, generatorOptions);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (5)
ServiceClientCodeFactory.cs (5)
15private Dictionary<string, CodeFile> _files = new Dictionary<string, CodeFile>(); 33public IReadOnlyDictionary<string, CodeFile> Files => _files; 42if (_files.TryGetValue(filePath, out CodeFile file) && !append) 61public List<CodeFile> GenerateCode(ServiceClientModel model, GeneratorOptions options)
Microsoft.DotNet.SwaggerGenerator.MSBuild (1)
GenerateSwaggerCode.cs (1)
73List<CodeFile> code = codeFactory.GenerateCode(model, options);