From 0d8d9e57d421facde1d2f7e5cfb1d186c987336b Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Wed, 31 Mar 2021 17:09:17 +0200 Subject: [PATCH] refactor: new code style in PluginDefinition.cs --- Dalamud/Plugin/PluginDefinition.cs | 43 ++++++++++++++++-------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/Dalamud/Plugin/PluginDefinition.cs b/Dalamud/Plugin/PluginDefinition.cs index 2b2fb0e70..c621be5ca 100644 --- a/Dalamud/Plugin/PluginDefinition.cs +++ b/Dalamud/Plugin/PluginDefinition.cs @@ -6,100 +6,103 @@ using System.Threading.Tasks; namespace Dalamud.Plugin { + /// + /// Class containing information about a plugin. + /// public class PluginDefinition { /// - /// The author/s of the plugin. + /// Gets or sets the author/s of the plugin. /// public string Author { get; set; } /// - /// The public name of the plugin. + /// Gets or sets the public name of the plugin. /// public string Name { get; set; } /// - /// The internal name of the plugin, which should match the assembly name of the plugin. + /// Gets or sets the internal name of the plugin, which should match the assembly name of the plugin. /// public string InternalName { get; set; } /// - /// The current assembly version of the plugin. + /// Gets or sets the current assembly version of the plugin. /// public string AssemblyVersion { get; set; } /// - /// The current testing assembly version of the plugin. + /// Gets or sets the current testing assembly version of the plugin. /// public string TestingAssemblyVersion { get; set; } /// - /// Defines if the plugin is only available for testing. + /// Gets or sets a value indicating whether the plugin is only available for testing. /// public bool IsTestingExclusive { get; set; } /// - /// A description of the plugins functions. + /// Gets or sets a description of the plugins functions. /// public string Description { get; set; } /// - /// The version of the game this plugin works with. + /// Gets or sets the version of the game this plugin works with. /// public string ApplicableVersion { get; set; } /// - /// An URL to the website or source code of the plugin. + /// Gets or sets an URL to the website or source code of the plugin. /// public string RepoUrl { get; set; } /// - /// List of tags defined on the plugin. + /// Gets or sets a list of tags defined on the plugin. /// public List Tags { get; set; } /// - /// Whether or not the plugin is hidden in the plugin installer. + /// Gets or sets a value indicating whether or not the plugin is hidden in the plugin installer. /// public bool IsHide { get; set; } /// - /// The API level of this plugin. For the current API level, please see for the currently used API level. + /// Gets or sets the API level of this plugin. For the current API level, please see for the currently used API level. /// public int DalamudApiLevel { get; set; } /// - /// The number of downloads this plugin has. + /// Gets or sets the number of downloads this plugin has. /// public long DownloadCount { get; set; } /// - /// The last time this plugin was updated. + /// Gets or sets the last time this plugin was updated. /// public long LastUpdate { get; set; } /// - /// Number of the repo. + /// Gets or sets the index of the third party repo. /// public int RepoNumber { get; set; } - + /// - /// Download link used to install the plugin. + /// Gets or sets the download link used to install the plugin. /// public string DownloadLinkInstall { get; set; } /// - /// Download link used to update the plugin. + /// Gets or sets the download link used to update the plugin. /// public string DownloadLinkUpdate { get; set; } /// - /// Download link used to get testing versions of the plugin. + /// Gets or sets the download link used to get testing versions of the plugin. /// public string DownloadLinkTesting { get; set; } /// - /// Load priority for this plugin. Higher values means higher priority. 0 is default priority. + /// Gets or sets the load priority for this plugin. Higher values means higher priority. 0 is default priority. /// public int LoadPriority { get; set; } }