ResourceDependencyDiscoveryOptions
Class sealed net8.0
Changes how resource dependencies are discovered.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ResourceDependencyDiscoveryOptions{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesCacheAnnotationCallbackResultsget; initbool When true, unresolved values from annotation callbacks will be cached and reused on subsequent evaluations of the same annotation, rather than re-evaluating the callback each time.
DiscoveryModeget; init Sets the mode for discovering resource dependencies. See
ResourceDependencyDiscoveryMode for details on the available modes.