1 instantiation of Templates
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Languages\Language.cs (1)
27
var templates = new
Templates
();
12 references to Templates
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (12)
Languages\angular\Angular.cs (2)
356
public override
Templates
GetTemplates(IHandlebars hb)
358
return
Templates
.Load("angular", hb);
Languages\csharp\CSharp.cs (2)
220
public override
Templates
GetTemplates(IHandlebars hb)
222
return
Templates
.Load("csharp", hb);
Languages\Language.cs (4)
19
public static string BasePath { get; set; } = Path.GetDirectoryName(typeof(
Templates
).Assembly.Location);
21
public static
Templates
Load(string languageName, IHandlebars hb)
27
var
templates = new Templates();
82
public abstract
Templates
GetTemplates(IHandlebars hb);
ServiceClientCodeFactory.cs (4)
23
Templates
templates,
34
public
Templates
Templates { get; }
72
Templates
templates = language.GetTemplates(hb);
82
private void RegisterTemplates(IHandlebars hb,
Templates
templates)