11 references to Parameter
Aspire.Hosting.CodeGeneration.Go.Tests (11)
GoDocCommentTests.cs (11)
372Parameter("name", stringType, "The name of the documentation."),
373Parameter("settings", settingsType, "The settings to apply, or `null` to keep the defaults."),
374Parameter("port", Primitive(AtsConstants.Number), "The port to use. Pass `name` to override.", isOptional: true),
375Parameter("status", statusType, "The initial status.", isOptional: true),
376Parameter("enabled", boolType, isOptional: true)
379[Parameter("name", stringType)], isObsolete: true, obsoleteMessage: "Use WithDocumentation instead."),
383[Parameter("status", statusType, "The status to set.")], isExperimental: true, isObsolete: true, obsoleteMessage: "Use WithDocumentation instead."),
385[Parameter("options", settingsType, "The settings to apply.", isOptional: true)]),
395[Parameter("value", stringType, "Gets or sets the display name.")], AtsCapabilityKind.PropertySetter, "Sets the DisplayName property"),
403[Parameter("force", boolType, "Whether to discard pending changes.")], AtsCapabilityKind.InstanceMethod),
506Parameters = [Parameter("builder", resourceType), .. parameters ?? []],