2 types derived from TypeModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Modeler\ClassTypeModel.cs (1)
7
public class ClassTypeModel :
TypeModel
Modeler\EnumTypeModel.cs (1)
6
public class EnumTypeModel :
TypeModel
14 references to TypeModel
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (14)
Languages\csharp\CSharp.cs (1)
228
foreach (
TypeModel
type in model.Types)
Modeler\ServiceClientModel.cs (2)
12
IEnumerable<
TypeModel
> types,
22
public IImmutableList<
TypeModel
> Types { get; }
Modeler\ServiceClientModelFactory.cs (6)
42
private readonly Dictionary<string,
TypeModel
> _types = new Dictionary<string,
TypeModel
>();
368
private
TypeModel
ResolveEnumTypeModel(IList<string> enumeration, string enumName)
390
private
TypeModel
ResolveTypeModel(OpenApiSchema schema)
403
if (_types.TryGetValue(id, out
TypeModel
model))
411
private
TypeModel
CreateTypeModel(string name, OpenApiSchema schema)
Modeler\TypeReference.cs (5)
10
private static readonly ConditionalWeakTable<
TypeModel
, TypeReference> TypeModelReferences =
11
new ConditionalWeakTable<
TypeModel
, TypeReference>();
45
public static TypeReference Object(
TypeModel
typeModel)
80
public TypeModelReference(
TypeModel
model)
85
public
TypeModel
Model { get; }