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