Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Group
    SubGroup<TParent>
    Implements
    IServiceResolverBase
    Inherited Members
    Group.TryResolve<TService>()
    Group.TryResolve(Type)
    Group.Resolve<TService>()
    Group.Resolve(Type)
    Group.CreateScope()
    Group.TryResolve<TService>(string)
    Group.TryResolve(Type, string)
    Group.Resolve<TService>(string)
    Group.Resolve(Type, string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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>)

    call this method in the constructor in order to configure the endpoint group.

    Declaration
    protected override sealed void Configure(string routePrefix, Action<EndpointDefinition> ep)
    Parameters
    Type Name Description
    string routePrefix

    the route prefix for the group

    Action<EndpointDefinition> ep

    the configuration action to be performed on the EndpointDefinition

    Overrides
    Group.Configure(string, Action<EndpointDefinition>)

    Implements

    IServiceResolverBase
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX