1 instantiation of Templates
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Languages\Language.cs (1)
24
var templates = new
Templates
();
12 references to Templates
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (12)
Languages\angular\Angular.cs (2)
353
public override
Templates
GetTemplates(IHandlebars hb)
355
return
Templates
.Load("angular", hb);
Languages\csharp\CSharp.cs (2)
217
public override
Templates
GetTemplates(IHandlebars hb)
219
return
Templates
.Load("csharp", hb);
Languages\Language.cs (4)
16
public static string BasePath { get; set; } = Path.GetDirectoryName(typeof(
Templates
).Assembly.Location);
18
public static
Templates
Load(string languageName, IHandlebars hb)
24
var
templates = new Templates();
79
public abstract
Templates
GetTemplates(IHandlebars hb);
ServiceClientCodeFactory.cs (4)
20
Templates
templates,
31
public
Templates
Templates { get; }
69
Templates
templates = language.GetTemplates(hb);
79
private void RegisterTemplates(IHandlebars hb,
Templates
templates)