using System; using System.Collections.Generic; namespace UVtools.Core.Scripting; public sealed class ScriptConfiguration { /// /// Gets or sets the script name /// public string Name { get; set; } = "Unnamed script"; /// /// Gets or sets the script description of what it does /// public string Description { get; set; } = "I don't know my purpose, do not run me!"; /// /// Gets or sets the script author name /// public string Author { get; set; } = "Undefined"; /// /// Gets or sets the script version /// public Version Version { get; set; } = new(0, 1); /// /// Gets or sets the minimum version able to run this script /// Scripts were introduced on v2.8 /// public Version MinimumVersionToRun { get; set; } = new(2, 8, 0); /// /// List of user inputs to show on GUI for configuration of the script /// public List UserInputs { get; } = new(); }