Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.03 KB

Summary.DocProperty.md

File metadata and controls

43 lines (31 loc) · 1.03 KB
public record DocProperty : DocMember

A DocMember that represents a documented property in the parsed source code.

Properties

public required DocType Type { get; init; }

The type of the property.

public required DocPropertyAccessor[] Accessors { get; init; }

The accessors of the property (e.g., get, set, init).

public required bool Generated { get; init; }

Whether this property was generated by compiler (e.g., it's a property of a record).

public required bool Event { get; init; }

Whether this property represents an event.

public string AccessorsDeclaration { get; }

The declaration of property accessors as they declared in the C# source code.