aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Kernel/IApplicationHost.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-24 16:53:54 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-24 16:53:54 -0500
commit8ce3e74e8112a94773df22827849bf274fc88198 (patch)
treea4ce1edf34466be697e2e432609f6be80b6c6df6 /MediaBrowser.Common/Kernel/IApplicationHost.cs
parent6c86721f6de2acbe68e9419064ff21111ff3a223 (diff)
More DI
Diffstat (limited to 'MediaBrowser.Common/Kernel/IApplicationHost.cs')
-rw-r--r--MediaBrowser.Common/Kernel/IApplicationHost.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Kernel/IApplicationHost.cs b/MediaBrowser.Common/Kernel/IApplicationHost.cs
index fe2f00a12..4b564581b 100644
--- a/MediaBrowser.Common/Kernel/IApplicationHost.cs
+++ b/MediaBrowser.Common/Kernel/IApplicationHost.cs
@@ -1,5 +1,6 @@
using MediaBrowser.Model.Updates;
using System;
+using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
@@ -33,6 +34,26 @@ namespace MediaBrowser.Common.Kernel
bool CanSelfUpdate { get; }
/// <summary>
+ /// Gets the failed assemblies.
+ /// </summary>
+ /// <value>The failed assemblies.</value>
+ IEnumerable<string> FailedAssemblies { get; }
+
+ /// <summary>
+ /// Gets all concrete types.
+ /// </summary>
+ /// <value>All concrete types.</value>
+ Type[] AllConcreteTypes { get; }
+
+ /// <summary>
+ /// Gets the exports.
+ /// </summary>
+ /// <typeparam name="T"></typeparam>
+ /// <param name="manageLiftime">if set to <c>true</c> [manage liftime].</param>
+ /// <returns>IEnumerable{``0}.</returns>
+ IEnumerable<T> GetExports<T>(bool manageLiftime = true);
+
+ /// <summary>
/// Checks for update.
/// </summary>
/// <returns>Task{CheckForUpdateResult}.</returns>