Skip to content
Docs Try Aspire
Docs Try

ResourceDependencyDiscoveryOptions Properties

Class Properties 2 members
Changes how resource dependencies are discovered.
CacheAnnotationCallbackResults Section titled CacheAnnotationCallbackResults bool
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; }