Aspire/ForgeTrust.Runnable.Aspire/IAspireComponent.cs

IAspireComponent

Type

IAspireComponent

Indicates that the implementing class is an Aspire component that can generate resources for the application. Classes implementing this interface are responsible for generating resources of type ,
Method

Generate(AspireStartupContext, IDistributedApplicationBuilder)

Generates and adds a resource to the Aspire distributed application builder.
Type

IAspireComponent

The base interface for Aspire components. For now this interface does not define any members, but it serves as a marker interface to identify classes that are Aspire components. This allows for future expansion and additional functionality to be added to all Aspire components if needed.