Class GroupAttribute<TEndpointGroup>
generic attribute for designating a group that an endpoint belongs. only effective when attribute based endpoint configuration is being used.
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class GroupAttribute<TEndpointGroup> : Attribute where TEndpointGroup : Group, new()
Type Parameters
Name | Description |
---|---|
TEndpointGroup | the type of the group class to use for this endpoint |