Skip to content
DocsTry Aspire
DocsTry

ResourceDependencyDiscoveryOptions Properties

ClassProperties2 members
Changes how resource dependencies are discovered.
CacheAnnotationCallbackResultsSection titled CacheAnnotationCallbackResultsbool
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.
public bool CacheAnnotationCallbackResults { get; init; }
Sets the mode for discovering resource dependencies. See ResourceDependencyDiscoveryMode for details on the available modes.
public ResourceDependencyDiscoveryMode DiscoveryMode { get; init; }