diff options
| author | Greenback <jimcartlidge@yahoo.co.uk> | 2020-12-15 10:20:28 +0000 |
|---|---|---|
| committer | Greenback <jimcartlidge@yahoo.co.uk> | 2020-12-15 10:20:28 +0000 |
| commit | c761cbff0e2d8bbf6b348db09c664760c4ccd1eb (patch) | |
| tree | 84f00181cac18e9fc2be9edf5f2d8e2adc2646cb | |
| parent | 208d545cfefd5ce7a2092f4ac669e58cae115d37 (diff) | |
more changes.
| -rw-r--r-- | MediaBrowser.Model/Plugins/PluginInfo.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Plugins/PluginInfo.cs b/MediaBrowser.Model/Plugins/PluginInfo.cs index 52c99b9c3..25216610d 100644 --- a/MediaBrowser.Model/Plugins/PluginInfo.cs +++ b/MediaBrowser.Model/Plugins/PluginInfo.cs @@ -20,9 +20,9 @@ namespace MediaBrowser.Model.Plugins public PluginInfo(string name, Version version, string description, Guid id, bool canUninstall) { Name = name; - Version = version?.ToString() ?? throw new ArgumentNullException(nameof(version)); + Version = version; Description = description; - Id = id.ToString(); + Id = id; CanUninstall = canUninstall; } @@ -34,7 +34,7 @@ namespace MediaBrowser.Model.Plugins /// <summary> /// Gets or sets the version. /// </summary> - public string Version { get; set; } + public Version Version { get; set; } /// <summary> /// Gets or sets the name of the configuration file. @@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Plugins /// <summary> /// Gets or sets the unique id. /// </summary> - public string Id { get; set; } + public Guid Id { get; set; } /// <summary> /// Gets or sets a value indicating whether the plugin can be uninstalled. |
