Skip to content

Automatic service register for Microsoft.Extensions.DependencyInjection

License

Notifications You must be signed in to change notification settings

juldhais/Contool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contool

Automatic service register for Microsoft.Extensions.DependencyInjection

Installation

.NET CLI

dotnet add package Contool

Package Manager

NuGet\Install-Package Contool

Usage

Service Attribute

[ScopedService]
public class ScopedUserService : IScopedUserService
{
}

public interface IScopedUserService
{
}

Register Service

builder.Services.AddServicesFromAssembly(Assembly.GetExecutingAssembly());

About

Automatic service register for Microsoft.Extensions.DependencyInjection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages