BuildFeed/BuildFeed.Model/BuildGroup.cs

14 lines
382 B
C#
Raw Normal View History

namespace BuildFeed.Model
{
public struct BuildGroup
{
2015-12-21 07:53:44 +08:00
public uint Major { get; set; }
public uint Minor { get; set; }
public uint Build { get; set; }
public uint? Revision { get; set; }
public override string ToString() => Revision.HasValue
2016-08-19 20:45:52 +08:00
? $"{Major}.{Minor}.{Build}.{Revision.Value}"
: $"{Major}.{Minor}.{Build}";
}
}