Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarletKuro committed Nov 23, 2023
1 parent 1c84d6a commit c3ccdff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ public static class WpfHostingExtensions
public static IHost UseWpfContainerBootstrap<TContainer>(this IHost host, TContainer container)
where TContainer : class
{
if (host is null)
{
throw new ArgumentNullException(nameof(host));
}
ThrowHelper.ThrowIfNull(host, nameof(host));

var assemblies = AppDomain.CurrentDomain.GetAssemblies();
var bootstraps = host.Services.GetServices<IBootstrap<TContainer>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
</PolySharpIncludeGeneratedTypes>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="Extensions.Hosting.Wpf.Bootstrap" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\icon.png">
<Pack>True</Pack>
Expand Down

0 comments on commit c3ccdff

Please sign in to comment.