using MediaBrowser.Common.Kernel;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.Plugins;
using MediaBrowser.Model.Serialization;
namespace MediaBrowser.Api
{
///
/// Class Plugin
///
public class Plugin : BasePlugin
{
///
/// Initializes a new instance of the class.
///
/// The kernel.
/// The XML serializer.
public Plugin(IKernel kernel, IXmlSerializer xmlSerializer) : base(kernel, xmlSerializer)
{
Instance = this;
}
///
/// Gets the name of the plugin
///
/// The name.
public override string Name
{
get { return "Web Api"; }
}
///
/// Gets a value indicating whether this instance is a core plugin.
///
/// true if this instance is a core plugin; otherwise, false.
public override bool IsCorePlugin
{
get
{
return true;
}
}
///
/// Gets the instance.
///
/// The instance.
public static Plugin Instance { get; private set; }
}
}