IResourceWithCustomWithReference<TSelf>
Interface net8.0
Defines custom
WithReference dispatch behavior for a resource type. namespace Aspire.Hosting.ApplicationModel;
public interface IResourceWithCustomWithReference<TSelf> : Aspire.Hosting.ApplicationModel.IResource where TSelf : IResource, IResourceWithCustomWithReference<TSelf>{ // ...}Type Parameters
Section titled Type ParametersTSelf The concrete resource type that provides the custom dispatch behavior.
Remarks
Section titled Remarks This contract is used by the internal ATS-visible
withReference dispatcher to route references to resource-specific logic at runtime. Implementations may customize dispatch based on either the source or destination resource type.