aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/IApplicationHost.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-11-02 16:02:52 +0100
committerBond_009 <bond.009@outlook.com>2021-11-02 16:02:52 +0100
commit104e36f2f9c6440a7547a4c76d80a69d5af84eea (patch)
treeefabebc400bd2f3ff897116fba163a84f6758838 /MediaBrowser.Common/IApplicationHost.cs
parent838225e962fb5931f449ed68156660703cab17c6 (diff)
Streamline startup code
Diffstat (limited to 'MediaBrowser.Common/IApplicationHost.cs')
-rw-r--r--MediaBrowser.Common/IApplicationHost.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Common/IApplicationHost.cs b/MediaBrowser.Common/IApplicationHost.cs
index 192a77611..e49ab41f4 100644
--- a/MediaBrowser.Common/IApplicationHost.cs
+++ b/MediaBrowser.Common/IApplicationHost.cs
@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
+using Microsoft.Extensions.DependencyInjection;
namespace MediaBrowser.Common
{
@@ -137,7 +138,8 @@ namespace MediaBrowser.Common
/// <summary>
/// Initializes this instance.
/// </summary>
- void Init();
+ /// <param name="serviceCollection">Instance of the <see cref="IServiceCollection"/> interface.</param>
+ void Init(IServiceCollection serviceCollection);
/// <summary>
/// Creates the instance.