4 references to NonConstantParameters
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Modeler\MethodModel.cs (4)
50
public IEnumerable<ParameterModel> FormalParameters =>
NonConstantParameters
.OrderBy(p => p.Required ? 0 : 1).ThenBy(p => p.Name);
52
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));
54
public ParameterModel PageParameter => Paginated == null ? null :
NonConstantParameters
.Single(p => p.Name == Paginated.PageParameterName);
56
public ParameterModel PageSizeParameter => Paginated == null ? null :
NonConstantParameters
.Single(p => p.Name == Paginated.PageSizeParameterName);