BuildFeed/BuildFeed.Model/BuildGroup.cs

14 lines
401 B
C#
Raw Normal View History

namespace BuildFeed.Model
{
2017-02-24 04:53:49 +08:00
public struct BuildGroup
{
public uint Major { get; set; }
public uint Minor { get; set; }
public uint Build { get; set; }
public uint? Revision { get; set; }
2017-02-24 04:53:49 +08:00
public override string ToString() => Revision.HasValue
? $"{Major}.{Minor}.{Build}.{Revision.Value}"
: $"{Major}.{Minor}.{Build}";
}
}