Struct AssociatedTypeModel
Represents a type associated with some type shape.
public record struct AssociatedTypeModel : IEquatable<AssociatedTypeModel>
- Implements
- Inherited Members
Constructors
AssociatedTypeModel(INamedTypeSymbol, IAssemblySymbol, Location?, TypeShapeRequirements)
Represents a type associated with some type shape.
public AssociatedTypeModel(INamedTypeSymbol AssociatedType, IAssemblySymbol AssociatingAssembly, Location? Location, TypeShapeRequirements Requirements)
Parameters
AssociatedTypeINamedTypeSymbolThe symbol for the related type.
AssociatingAssemblyIAssemblySymbolThe assembly that declared the association.
LocationLocationThe location where the association is declared.
RequirementsTypeShapeRequirementsThe associated type's requirements.
Properties
AssociatedType
The symbol for the related type.
public INamedTypeSymbol AssociatedType { readonly get; set; }
Property Value
AssociatingAssembly
The assembly that declared the association.
public IAssemblySymbol AssociatingAssembly { readonly get; set; }
Property Value
Location
The location where the association is declared.
public Location? Location { readonly get; set; }
Property Value
Requirements
The associated type's requirements.
public TypeShapeRequirements Requirements { readonly get; set; }