BuildFeed/BuildFeed.Model/BuildVersion.cs

16 lines
348 B
C#
Raw Normal View History

namespace BuildFeed.Model
{
2017-02-24 04:53:49 +08:00
public struct BuildVersion
{
public uint Major { get; set; }
public uint Minor { get; set; }
2017-02-24 04:53:49 +08:00
public BuildVersion(uint major, uint minor)
{
Major = major;
Minor = minor;
}
2017-02-24 04:53:49 +08:00
public override string ToString() => $"{Major}.{Minor}";
}
}