8 references to Field
Aspire.Hosting.CodeGeneration.Go (5)
AtsGoCodeGenerator.cs (4)
1038
Subject = GoDocSubject.
Field
,
1105
Subject = GoDocSubject.
Field
,
1184
Subject = GoDocSubject.
Field
,
2386
Subject = GoDocSubject.
Field
,
GoDocComment.cs (1)
441
else if (text.StartsWith("Gets ", StringComparison.OrdinalIgnoreCase) && subject is GoDocSubject.Setter or GoDocSubject.
Field
)
Aspire.Hosting.CodeGeneration.Go.Tests (3)
GoDocCommentTests.cs (3)
60
("field with a noun phrase", new GoDocContent { GoName = "Port", Subject = GoDocSubject.
Field
, Summary = "The port to listen on." }),
61
("field with a sentence", new GoDocContent { GoName = "Pending", Subject = GoDocSubject.
Field
, Summary = "The resource is pending." }),
62
("field with whether", new GoDocContent { GoName = "UseTls", Subject = GoDocSubject.
Field
, Summary = "Whether TLS is used." }),