Class SubGroup<TParent>
common configuration for a sub group of endpoints can be specified by implementing this abstract class and calling Configure(String, Action<EndpointDefinition>) in the constructor.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public abstract class SubGroup<TParent> : Group, IServiceResolverBase where TParent : Group, new()
Type Parameters
Name | Description |
---|---|
TParent |
Methods
Configure(String, Action<EndpointDefinition>)
common configuration for a sub group of endpoints can be specified by implementing this abstract class and calling Configure(String, Action<EndpointDefinition>) in the constructor.
Declaration
protected sealed override void Configure(string routePrefix, Action<EndpointDefinition> ep)
Parameters
Type | Name | Description |
---|---|---|
System.String | routePrefix | |
System.Action<EndpointDefinition> | ep |