Show / Hide Table of Contents

Class ServiceCollectionConventionalRegistrationExtensions

Inheritance
object
ServiceCollectionConventionalRegistrationExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Core.dll
Syntax
public static class ServiceCollectionConventionalRegistrationExtensions

Methods

AddAssembly(IServiceCollection, Assembly)

Declaration
public static IServiceCollection AddAssembly(this IServiceCollection services, Assembly assembly)
Parameters
Type Name Description
IServiceCollection services
Assembly assembly
Returns
Type Description
IServiceCollection

AddAssemblyOf<T>(IServiceCollection)

Declaration
public static IServiceCollection AddAssemblyOf<T>(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
T

AddConventionalRegistrar(IServiceCollection, IConventionalRegistrar)

Declaration
public static IServiceCollection AddConventionalRegistrar(this IServiceCollection services, IConventionalRegistrar registrar)
Parameters
Type Name Description
IServiceCollection services
IConventionalRegistrar registrar
Returns
Type Description
IServiceCollection

AddType(IServiceCollection, Type)

Declaration
public static IServiceCollection AddType(this IServiceCollection services, Type type)
Parameters
Type Name Description
IServiceCollection services
Type type
Returns
Type Description
IServiceCollection

AddType<TType>(IServiceCollection)

Declaration
public static IServiceCollection AddType<TType>(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
TType

AddTypes(IServiceCollection, params Type[])

Declaration
public static IServiceCollection AddTypes(this IServiceCollection services, params Type[] types)
Parameters
Type Name Description
IServiceCollection services
Type[] types
Returns
Type Description
IServiceCollection

GetConventionalRegistrars(IServiceCollection)

Declaration
public static List<IConventionalRegistrar> GetConventionalRegistrars(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
List<IConventionalRegistrar>
In this article
Back to top Powered by Volosoft