Files
pgsql-jellyfin/MediaBrowser.Common/Plugins/IPlugin.cs
T
wjones af1152b001 Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
2026-02-20 16:26:53 -05:00

64 lines
1.6 KiB
C#

// <copyright file="IPlugin.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace MediaBrowser.Common.Plugins
{
#nullable disable
using System;
using MediaBrowser.Model.Plugins;
/// <summary>
/// Defines the <see cref="IPlugin" />.
/// </summary>
public interface IPlugin
{
/// <summary>
/// Gets the name of the plugin.
/// </summary>
string Name { get; }
/// <summary>
/// Gets the Description.
/// </summary>
string Description { get; }
/// <summary>
/// Gets the unique id.
/// </summary>
Guid Id { get; }
/// <summary>
/// Gets the plugin version.
/// </summary>
Version Version { get; }
/// <summary>
/// Gets the path to the assembly file.
/// </summary>
string AssemblyFilePath { get; }
/// <summary>
/// Gets a value indicating whether the plugin can be uninstalled.
/// </summary>
bool CanUninstall { get; }
/// <summary>
/// Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
/// </summary>
string DataFolderPath { get; }
/// <summary>
/// Gets the <see cref="PluginInfo"/>.
/// </summary>
/// <returns>PluginInfo.</returns>
PluginInfo GetPluginInfo();
/// <summary>
/// Called when just before the plugin is uninstalled from the server.
/// </summary>
void OnUninstalling();
}
}