4 references to NonConstantParameters
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Modeler\MethodModel.cs (4)
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);