BuildFeed/BuildFeed.Model/BuildGroup.cs
2017-02-23 20:53:49 +00:00

14 lines
401 B
C#

namespace BuildFeed.Model
{
public struct BuildGroup
{
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
? $"{Major}.{Minor}.{Build}.{Revision.Value}"
: $"{Major}.{Minor}.{Build}";
}
}