using MediaBrowser.Model.Plugins; using System; namespace MediaBrowser.Common.Plugins { /// /// Represents a common base class for any plugin that has ui components /// public abstract class BaseUiPlugin : BasePlugin, IUIPlugin where TConfigurationType : BasePluginConfiguration { /// /// Returns true or false indicating if the plugin should be downloaded and run within the Ui. /// /// true if [download to UI]; otherwise, false. public sealed override bool DownloadToUi { get { return true; } } /// /// Gets the minimum required UI version. /// /// The minimum required UI version. public abstract Version MinimumRequiredUIVersion { get; } } }