Skip to content
DocsTry Aspire
DocsTry

ResourceRelationshipAnnotation Constructors

ClassConstructors1 member
An annotation which represents the relationship between two resources.
Constructor(IResource, string)Section titled Constructor(IResource, string)
An annotation which represents the relationship between two resources.
public sealed class ResourceRelationshipAnnotation
{
public ResourceRelationshipAnnotation(
IResource resource,
string type)
{
// ...
}
}
resourceIResource
typestring