1 write to Name
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ParameterModel.cs (1)
12
Name
= name;
9 references to Name
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (9)
Modeler\MethodModel.cs (8)
48
Parameters.Where(p => p.Type is TypeReference.ConstantTypeReference).OrderBy(p => p.
Name
);
51
Parameters.Where(p => !(p.Type is TypeReference.ConstantTypeReference)).OrderBy(p => p.
Name
);
53
public IEnumerable<ParameterModel> FormalParameters => NonConstantParameters.OrderBy(p => p.Required ? 0 : 1).ThenBy(p => p.
Name
);
55
public IEnumerable<ParameterModel> FormalParametersNoPaging => NonConstantParameters.OrderBy(p => p.Required ? 0 : 1).ThenBy(p => p.
Name
).Where(p => Paginated == null || (p.
Name
!= Paginated.PageParameterName && p.
Name
!= Paginated.PageSizeParameterName));
57
public ParameterModel PageParameter => Paginated == null ? null : NonConstantParameters.Single(p => p.
Name
== Paginated.PageParameterName);
59
public ParameterModel PageSizeParameter => Paginated == null ? null : NonConstantParameters.Single(p => p.
Name
== Paginated.PageSizeParameterName);
Modeler\ParameterModel.cs (1)
27
return $"{Type} {
Name
}; Required={Required}, In={Location}";