2 instantiations of CodeFile
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
ServiceClientCodeFactory.cs (2)
52
file = new
CodeFile
(filePath, "");
57
_files[filePath] = new
CodeFile
(filePath, file.Contents + writer);
7 references to CodeFile
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
100
List<
CodeFile
> code = codeFactory.GenerateCode(model, generatorOptions);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (5)
ServiceClientCodeFactory.cs (5)
18
private Dictionary<string,
CodeFile
> _files = new Dictionary<string,
CodeFile
>();
36
public IReadOnlyDictionary<string,
CodeFile
> Files => _files;
45
if (_files.TryGetValue(filePath, out
CodeFile
file) && !append)
64
public List<
CodeFile
> GenerateCode(ServiceClientModel model, GeneratorOptions options)
Microsoft.DotNet.SwaggerGenerator.MSBuild (1)
GenerateSwaggerCode.cs (1)
76
List<
CodeFile
> code = codeFactory.GenerateCode(model, options);