Skip to content

Commit 63204f7

Browse files
committed
publish public host
1 parent 28aa365 commit 63204f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SimpleInjection/Injection/Host.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private Host() { }
2828
/// with service lifetime attributes (<see cref="SingletonAttribute"/>, <see cref="ScopedAttribute"/>,
2929
/// <see cref="TransientAttribute"/>). It then creates a new host and registers these types with appropriate lifetimes.
3030
/// </remarks>
31-
internal static Host Initialize()
31+
public static Host Initialize()
3232
{
3333
var host = new Host();
3434
host.RegisterAttributedTypes();

SimpleInjection/SimpleInjection.csproj

Lines changed: 1 addition & 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.1</Version>
10+
<Version>0.9.2</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>

0 commit comments

Comments
 (0)