aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-02-19 21:07:09 +0100
committerGitHub <noreply@github.com>2020-02-19 21:07:09 +0100
commit0f173e1778577f11d86da38ff2174ac1f0e7d612 (patch)
tree20812a41d73520d58efe2a69f9b2b52b022c980d /MediaBrowser.Controller/Plugins/IServerEntryPoint.cs
parentcefac4f886e82a642380586b3d732e729cd76dd1 (diff)
parentcef796a5ba6dd256f425fb87c13d63c724499058 (diff)
Merge branch 'master' into sessionmanager
Diffstat (limited to 'MediaBrowser.Controller/Plugins/IServerEntryPoint.cs')
-rw-r--r--MediaBrowser.Controller/Plugins/IServerEntryPoint.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs b/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs
index e57929989..1e8654c4d 100644
--- a/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs
+++ b/MediaBrowser.Controller/Plugins/IServerEntryPoint.cs
@@ -4,16 +4,22 @@ using System.Threading.Tasks;
namespace MediaBrowser.Controller.Plugins
{
/// <summary>
- /// Interface IServerEntryPoint
+ /// Represents an entry point for a module in the application. This interface is scanned for automatically and
+ /// provides a hook to initialize the module at application start.
+ /// The entry point can additionally be flagged as a pre-startup task by implementing the
+ /// <see cref="IRunBeforeStartup"/> interface.
/// </summary>
public interface IServerEntryPoint : IDisposable
{
/// <summary>
- /// Runs this instance.
+ /// Run the initialization for this module. This method is invoked at application start.
/// </summary>
Task RunAsync();
}
+ /// <summary>
+ /// Indicates that a <see cref="IServerEntryPoint"/> should be invoked as a pre-startup task.
+ /// </summary>
public interface IRunBeforeStartup
{