ResourceNameAttribute Constructors
ClassConstructors1 member
Signifies that a parameter represents a resource name.
Decorate String parameters representing resource names with this attribute, e.g.: public static IResourceBuilder<MyResource> AddCustomResource( this IDistributedApplicationBuilder builder, [ResourceName] string name)
ConstructorSection titled Constructorpublic sealed class ResourceNameAttribute{ public ResourceNameAttribute() { // ... }}