16 references to Capability
Aspire.Hosting.CodeGeneration.Go.Tests (16)
GoDocCommentTests.cs (16)
370Capability("withDocumentation", resourceType, new AtsDocumentationInfo { Summary = "Adds documentation to the resource.", Remarks = RichRemarks, Returns = "The resource builder." },
378Capability("withObsoleteDocumentation", resourceType, new AtsDocumentationInfo { Summary = "Adds documentation using the legacy convention." },
380Capability("withLegacyDocumentation", resourceType, description: "Adds the legacy documentation.", isObsolete: true),
381Capability("withPreviewDocumentation", resourceType, new AtsDocumentationInfo { Summary = "Adds preview documentation." }, isExperimental: true),
382Capability("withPreviewStatus", resourceType, new AtsDocumentationInfo { Summary = "Sets the preview status." },
384Capability("withDirectOptions", resourceType, new AtsDocumentationInfo { Summary = "Applies the settings." },
386Capability("withHeading", resourceType, new AtsDocumentationInfo { Summary = "Adds a heading.", Remarks = "Overview\n- first item" }),
387Capability("withSpecialText", resourceType, new AtsDocumentationInfo
392Capability("displayName", stringType, new AtsDocumentationInfo { Summary = "Gets or sets the display name." },
394Capability("setDisplayName", resourceType, new AtsDocumentationInfo { Summary = "Gets or sets the display name." },
396Capability("isEnabled", boolType, new AtsDocumentationInfo { Summary = "Gets or sets a value indicating whether the resource is enabled." },
398Capability("port", Primitive(AtsConstants.Number), new AtsDocumentationInfo { Summary = "The port of the resource." },
400Capability("tags", tagsType, new AtsDocumentationInfo { Summary = "Gets the tags of the resource." }, kind: AtsCapabilityKind.PropertyGetter),
401Capability("getStatus", stringType, new AtsDocumentationInfo { Summary = "Gets the status of the resource.", Returns = "The status of the resource." }, kind: AtsCapabilityKind.InstanceMethod),
402Capability("reset", voidType, new AtsDocumentationInfo { Summary = "Resets the resource to its defaults." },
404Capability("undocumented", voidType, kind: AtsCapabilityKind.InstanceMethod)