11 references to Parameter
Aspire.Hosting.CodeGeneration.Go.Tests (11)
GoDocCommentTests.cs (11)
462Parameter("name", stringType, "The name of the documentation."),
463Parameter("settings", settingsType, "The settings to apply, or `null` to keep the defaults."),
464Parameter("port", Primitive(AtsConstants.Number), "The port to use. Pass `name` to override.", isOptional: true),
465Parameter("status", statusType, "The initial status.", isOptional: true),
466Parameter("enabled", boolType, isOptional: true)
469[Parameter("name", stringType)], isObsolete: true, obsoleteMessage: "Use WithDocumentation instead."),
473[Parameter("status", statusType, "The status to set.")], isExperimental: true, isObsolete: true, obsoleteMessage: "Use WithDocumentation instead."),
475[Parameter("options", settingsType, "The settings to apply.", isOptional: true)]),
485[Parameter("value", stringType, "Gets or sets the display name.")], AtsCapabilityKind.PropertySetter, "Sets the DisplayName property"),
493[Parameter("force", boolType, "Whether to discard pending changes.")], AtsCapabilityKind.InstanceMethod),
596Parameters = [Parameter("builder", resourceType), .. parameters ?? []],