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