using MediaBrowser.Model.Plugins;
namespace ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
///
/// The configuration options.
///
public enum SomeOptions
{
///
/// Option one.
///
OneOption,
///
/// Second option.
///
AnotherOption
}
///
/// Plugin configuration.
///
public class PluginConfiguration : BasePluginConfiguration
{
///
/// Initializes a new instance of the class.
///
public PluginConfiguration()
{
// set default options here
Options = SomeOptions.AnotherOption;
TrueFalseSetting = true;
AnInteger = 2;
AString = "string";
}
///
/// Gets or sets a value indicating whether some true or false setting is enabled..
///
public bool TrueFalseSetting { get; set; }
///
/// Gets or sets an integer setting.
///
public int AnInteger { get; set; }
///
/// Gets or sets a string setting.
///
public string AString { get; set; }
///
/// Gets or sets an enum option.
///
public SomeOptions Options { get; set; }
}