mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-17 03:55:37 +01:00
14 lines
346 B
C#
14 lines
346 B
C#
using System;
|
|
|
|
namespace Giants.Services
|
|
{
|
|
public class VersionInfo : DataContract.V1.VersionInfo, IIdentifiable
|
|
{
|
|
public string id => GenerateId(this.AppName);
|
|
|
|
public string DocumentType => nameof(VersionInfo);
|
|
|
|
public static string GenerateId(string gameName) => $"{nameof(VersionInfo)}-{gameName}";
|
|
}
|
|
}
|