1 write to Properties
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ClassTypeModel.cs (1)
21
Properties
= properties.ToImmutableList();
6 references to Properties
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (6)
Languages\angular\Angular.cs (1)
353
return type.
Properties
.Any(p => p.Required);
Languages\csharp\CSharp.cs (1)
251
return classType.
Properties
.Any(p => p.Required && IsNullable(p.Type));
Modeler\ClassTypeModel.cs (4)
31
Properties
.Where(p => p.Required && p.ReadOnly)
32
.Concat(
Properties
.Where(p => p.Required && !p.ReadOnly))
33
.Concat(
Properties
.Where(p => !p.Required && p.ReadOnly));
35
public IEnumerable<PropertyModel> RequiredProperties =>
Properties
.Where(p => p.Required);