Skip to content

Commit 47406da

Browse files
committed
Updated Readme and NuGet
1 parent af08bc1 commit 47406da

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

NetCore.AutoRegisterDi.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj",
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{82D01612-D8DE-4C78-8394-19712BF8FCF5}"
1111
ProjectSection(SolutionItems) = preProject
12-
..\..\..\OneDrive - Selective Analytics Ltd\1 Business\1 TSF stuff\1 Standard Stationary\images\AutoRegisterDiIcon128.png = ..\..\..\OneDrive - Selective Analytics Ltd\1 Business\1 TSF stuff\1 Standard Stationary\images\AutoRegisterDiIcon128.png
1312
LICENCE.txt = LICENCE.txt
1413
READMe.md = READMe.md
1514
EndProjectSection

NetCore.AutoRegisterDi/NetCore.AutoRegisterDi.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
<Version>1.0.0</Version>
88
<AssemblyVersion>1.0.0.0</AssemblyVersion>
99
<FileVersion>1.0.0.0</FileVersion>
10+
<PackageId>NetCore.AutoRegisterDi</PackageId>
1011
<PackageProjectUrl>https://github.com/JonPSmith/NetCore.AutoRegisterDi</PackageProjectUrl>
1112
<PackageLicenseUrl>https://raw.githubusercontent.com/JonPSmith/NetCore.AutoRegisterDi/master/LICENCE.txt</PackageLicenseUrl>
1213
<RepositoryUrl>https://github.com/JonPSmith/NetCore.AutoRegisterDi</RepositoryUrl>
13-
<RepositoryType>Git</RepositoryType>
14+
<RepositoryType>GitHub</RepositoryType>
1415
<PackageTags>NetCore DependencyInjection di</PackageTags>
15-
<PackageReleaseNotes>First release</PackageReleaseNotes>
1616
<Authors>Jon P Smith</Authors>
17+
<Copyright>Copyright (c) 2018 Inventory Innovations, Inc. and Selective Analytics Ltd.</Copyright>
1718
<Company>Selective Analytics</Company>
1819
<Description>Extension method to find/register classes in an assembly into Microsoft.Extensions.DependencyInjection</Description>
20+
<PackageReleaseNotes>First release</PackageReleaseNotes>
21+
<PackageIconUrl>https://raw.githubusercontent.com/JonPSmith/NetCore.AutoRegisterDi/master/AutoRegisterDiIcon128.png</PackageIconUrl>
1922
</PropertyGroup>
2023

2124
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

READMe.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NetCore.AutoRegisterDi
22

3-
This [NuGet library]()
3+
This [NuGet library](https://www.nuget.org/packages/NetCore.AutoRegisterDi/)
44
contains an extension method to scan an assemby and register all
55
the public classes against their implemented interfaces(s) into the
66
Microsoft.Extensions.DependencyInjection dependency injection provider.
@@ -21,7 +21,9 @@ public void ConfigureServices(IServiceCollection services)
2121
.AsPublicImplementedInterfaces();
2222
```
2323

24-
## Wht have I written this extension?
24+
Licence: MIT.
25+
26+
## Why have I written this extension?
2527

2628
There are two reasons:
2729

@@ -34,6 +36,8 @@ which showed the Microsoft's DI provider was much faster than AutoFac.
3436
I therefore implemented a similar (but not exactly the same) feature for the
3537
Microsoft.Extensions.DependencyInjection library.
3638

39+
**Thanks to Inventory Innovations, Inc. who sponsored the creation of this library.**
40+
3741
### Detailed information
3842

3943
There are three parts:
@@ -54,7 +58,7 @@ The exact criteria I use are:
5458
- Not Generic, e.g. MyClass<T>
5559
- Not Abstract
5660

57-
It can take a list/array of assemblies to scan. Two typical wasy of providing an assembly are:
61+
The method takes a list/array of assemblies to scan. Two typical ways of providing an assembly are:
5862

5963
- `Assembly.GetExecutingAssembly()`, which does what is says
6064
- `Assembly.GetAssembly(typeof(YourClass))`, which gets the assembly that `YourClass` was defined in.

0 commit comments

Comments
 (0)