Skip to content

Commit 02e5820

Browse files
committed
fix readme and make appropriate api's public
1 parent fbcc3d0 commit 02e5820

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SimpleInjection/Injection/Host.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public Scope CreateScope()
222222
/// <typeparam name="T">The type of service to retrieve.</typeparam>
223223
/// <returns>The singleton instance of the specified service type.</returns>
224224
/// <exception cref="InvalidOperationException">Thrown if the host has not been initialized or the service is not registered.</exception>
225-
internal T Get<T>() where T : class
225+
public T Get<T>() where T : class
226226
{
227227
if (!_initialized)
228228
throw new InvalidOperationException("Host must be initialized.");

SimpleInjection/SimpleInjection.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
99
<PackageId>SimpleInjection</PackageId>
10-
<Version>0.9.2</Version>
10+
<Version>0.9.3</Version>
1111
<Authors>Derek Gooding</Authors>
1212
<Description>A library for adding lightweight Dependancy Injection to any C# project.</Description>
1313
<PackageTags>CSharp Tools</PackageTags>
@@ -17,6 +17,8 @@
1717
<RepositoryUrl>https://github.com/DerekGooding/SimpleInjection</RepositoryUrl>
1818
<PackageBugTrackerUrl>https://github.com/DerekGooding/SimpleInjection/issues</PackageBugTrackerUrl>
1919
<RepositoryType>git</RepositoryType>
20+
<PackageIcon>icon.png</PackageIcon>
21+
<PackageReadmeFile>README.md</PackageReadmeFile>
2022

2123
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2224
<DocumentationFile>bin\SimpleInjection.xml</DocumentationFile>

0 commit comments

Comments
 (0)