Class Group
Inheritance
System.Object
Group
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()
Assembly: FastEndpoints.dll
Syntax
public abstract class Group : IServiceResolverBase
Methods
call this method in the constructor in order to configure the endpoint group.
Declaration
protected virtual void Configure(string routePrefix, Action<EndpointDefinition> ep)
Parameters
Type |
Name |
Description |
System.String |
routePrefix |
the route prefix for the group
|
System.Action<EndpointDefinition> |
ep |
the configuration action to be performed on the EndpointDefinition
|
CreateScope()
Declaration
public IServiceScope CreateScope()
Returns
Type |
Description |
Microsoft.Extensions.DependencyInjection.IServiceScope |
|
Resolve(Type)
Declaration
public object Resolve(Type typeOfService)
Parameters
Type |
Name |
Description |
System.Type |
typeOfService |
|
Returns
Type |
Description |
System.Object |
|
Resolve<TService>()
Declaration
public TService Resolve<TService>()
where TService : class
Returns
Type |
Description |
TService |
|
Type Parameters
Name |
Description |
TService |
|
TryResolve(Type)
Declaration
public object TryResolve(Type typeOfService)
Parameters
Type |
Name |
Description |
System.Type |
typeOfService |
|
Returns
Type |
Description |
System.Object |
|
TryResolve<TService>()
Declaration
public TService TryResolve<TService>()
where TService : class
Returns
Type |
Description |
TService |
|
Type Parameters
Name |
Description |
TService |
|
Implements