blob: 919072b0600ba1767e3000a77ae898a128da9ff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#nullable disable
namespace StardewModdingAPI.Web.Framework.Clients
{
/// <summary>Generic metadata about a file download on a mod page.</summary>
internal class GenericModDownload : IModDownload
{
/*********
** Accessors
*********/
/// <summary>The download's display name.</summary>
public string Name { get; set; }
/// <summary>The download's description.</summary>
public string Description { get; set; }
/// <summary>The download's file version.</summary>
public string Version { get; set; }
/*********
** Public methods
*********/
/// <summary>Construct an empty instance.</summary>
public GenericModDownload() { }
/// <summary>Construct an instance.</summary>
/// <param name="name">The download's display name.</param>
/// <param name="description">The download's description.</param>
/// <param name="version">The download's file version.</param>
public GenericModDownload(string name, string description, string version)
{
this.Name = name;
this.Description = description;
this.Version = version;
}
}
}
|