-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78d885c
commit 7d40782
Showing
9 changed files
with
51 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,43 @@ | ||
# [Summary.DocProperty](../src/Core/DocProperty.cs#L6) | ||
# [Summary.DocProperty](../src/Core/DocProperty.cs#L8) | ||
```cs | ||
public record DocProperty : DocMember | ||
``` | ||
|
||
A [`DocMember`](./DocMember.md) that represents a documented property in the parsed source code. | ||
|
||
## Properties | ||
### [Type](../src/Core/DocProperty.cs#L11) | ||
### [Type](../src/Core/DocProperty.cs#L13) | ||
```cs | ||
public required DocType Type { get; init; } | ||
``` | ||
|
||
The type of the property. | ||
|
||
### [Generated](../src/Core/DocProperty.cs#L16) | ||
### [Accessors](../src/Core/DocProperty.cs#L18) | ||
```cs | ||
public required DocPropertyAccessor[] Accessors { get; init; } | ||
``` | ||
|
||
The accessors of the property (e.g., `get`, `set`, `init`). | ||
|
||
### [Generated](../src/Core/DocProperty.cs#L23) | ||
```cs | ||
public required bool Generated { get; init; } | ||
``` | ||
|
||
Whether this property was generated by compiler (e.g., it's a property of a record). | ||
|
||
### [Event](../src/Core/DocProperty.cs#L21) | ||
### [Event](../src/Core/DocProperty.cs#L29) | ||
```cs | ||
public required bool Event { get; init; } | ||
``` | ||
|
||
Whether this property represents an event. | ||
|
||
### [AccessorsDeclaration](../src/Core/DocProperty.cs#L34) | ||
```cs | ||
public string AccessorsDeclaration { get; } | ||
``` | ||
|
||
The declaration of property accessors as they declared in the C# source code. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters