mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-06-29 01:01:45 +02:00
14 lines
344 B
C#
14 lines
344 B
C#
![]() |
using System;
|
|||
|
|
|||
|
namespace Giants.Services
|
|||
|
{
|
|||
|
public class VersionInfo : DataContract.VersionInfo, IIdentifiable
|
|||
|
{
|
|||
|
public string id => GenerateId(this.GameName);
|
|||
|
|
|||
|
public string DocumentType => nameof(VersionInfo);
|
|||
|
|
|||
|
public static string GenerateId(string gameName) => $"{nameof(VersionInfo)}-{gameName}";
|
|||
|
}
|
|||
|
}
|