Added the files to build a dotnet template

This commit is contained in:
Phallacy
2019-03-03 01:49:02 -08:00
parent 5af09f0fd5
commit 1e38d3a856
6 changed files with 215 additions and 0 deletions
@@ -0,0 +1,24 @@
using MediaBrowser.Model.Plugins;
namespace Jellyfin.Plugin.dotnet_template.Configuration
{
public enum SomeOptions
{
OneOption,
AnotherOption
}
public class PluginConfiguration : BasePluginConfiguration
{
//This is where you should store configurable settings your plugin might need.
public bool TrueFalseSetting {get; set;}
public int AnInteger {get; set;}
public string AString {get; set;}
public SomeOptions Options {get; set;}
public PluginConfiguration()
{
Options = SomeOptions.AnotherOption;
TrueFalseSetting = true;
AnInteger = 5;
AString = "This is a string setting";
}
}
}