Table of Contents

Class ObjectDataModel

Namespace
PolyType.Roslyn
Assembly
PolyType.Roslyn.dll

Represents a type whose data model is defined as a list of properties.

public sealed class ObjectDataModel : TypeDataModel
Inheritance
ObjectDataModel
Inherited Members

Properties

Constructors

List of instance constructors defined on the type.

public required ImmutableArray<ConstructorDataModel> Constructors { get; init; }

Property Value

ImmutableArray<ConstructorDataModel>

Kind

Determines the type of TypeDataModel being used.

public override TypeDataKind Kind { get; }

Property Value

TypeDataKind

Properties

List of instance properties or fields defined on the type.

public required ImmutableArray<PropertyDataModel> Properties { get; init; }

Property Value

ImmutableArray<PropertyDataModel>