6 references to Setter
Aspire.Hosting.CodeGeneration.Go (4)
AtsGoCodeGenerator.cs (1)
702AtsCapabilityKind.PropertySetter => GoDocSubject.Setter,
GoDocComment.cs (3)
214content.Subject == GoDocSubject.Setter && 441else if (text.StartsWith("Gets ", StringComparison.OrdinalIgnoreCase) && subject is GoDocSubject.Setter or GoDocSubject.Field) 464GoDocSubject.Setter => $"{name} sets {body}",
Aspire.Hosting.CodeGeneration.Go.Tests (2)
GoDocCommentTests.cs (2)
56("setter", new GoDocContent { GoName = "SetDisplayName", Subject = GoDocSubject.Setter, Summary = "Gets or sets the display name." }), 58("setter falls back to the description when the property text cannot be reworded", new GoDocContent { GoName = "SetPort", Subject = GoDocSubject.Setter, Summary = "The port.", FallbackSummary = "Sets the Port property" }),