13 references to PascalCase
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (13)
DefaultHelpers.cs (1)
33
return Helpers.
PascalCase
(value.AsSpan());
Languages\angular\Angular.cs (3)
28
var name = Helpers.
PascalCase
(typeModelRef.Model.Name.AsSpan());
119
var name = Helpers.
PascalCase
(typeModelRef.Model.Name.AsSpan());
208
var name = Helpers.
PascalCase
(typeModelRef.Model.Name.AsSpan());
Languages\csharp\CSharp.cs (4)
22
string ns = string.Join(".", parts.Select(p => Helpers.
PascalCase
(p.AsSpan())));
83
return "Models." + Helpers.
PascalCase
(typeModelRef.Model.Name.AsSpan());
214
return $"RequestMethod.{Helpers.
PascalCase
(method.Method.ToLower().AsSpan())}";
233
context.WriteTemplate($"Models/{Helpers.
PascalCase
(type.Name.AsSpan())}", context.Templates["Model"], type);
Modeler\ServiceClientModelFactory.cs (5)
318
$"{Helpers.
PascalCase
(CurrentTypeName.AsSpan())}{Helpers.
PascalCase
(CurrentPropertyName.AsSpan())}";
323
$"{Helpers.
PascalCase
(CurrentMethodName.AsSpan())}{Helpers.
PascalCase
(CurrentParameterName.AsSpan())}";
403
id = Helpers.
PascalCase
((CurrentTypeName + "-" + CurrentPropertyName).AsSpan());