2using System.Reflection;
9 [AttributeUsage(AttributeTargets.Assembly)]
16 .GetExecutingAssembly()
65 string rawConfigurationVersion,
66 string rawInteropVersion,
67 string rawWebpanelVersion,
68 string rawHostWatchdogVersion,
69 string rawMariaDBRedistVersion,
70 string rawSwarmProtocolVersion,
71 string rawGraphQLVersion)
73 RawConfigurationVersion = rawConfigurationVersion ??
throw new ArgumentNullException(nameof(rawConfigurationVersion));
74 RawInteropVersion = rawInteropVersion ??
throw new ArgumentNullException(nameof(rawInteropVersion));
75 RawWebpanelVersion = rawWebpanelVersion ??
throw new ArgumentNullException(nameof(rawWebpanelVersion));
76 RawHostWatchdogVersion = rawHostWatchdogVersion ??
throw new ArgumentNullException(nameof(rawHostWatchdogVersion));
77 RawMariaDBRedistVersion = rawMariaDBRedistVersion ??
throw new ArgumentNullException(nameof(rawMariaDBRedistVersion));
78 RawSwarmProtocolVersion = rawSwarmProtocolVersion ??
throw new ArgumentNullException(nameof(rawSwarmProtocolVersion));
79 RawGraphQLVersion = rawGraphQLVersion ??
throw new ArgumentNullException(nameof(rawGraphQLVersion));
Attribute for bringing in the master versions list from MSBuild that aren't embedded into assemblies ...
string RawMariaDBRedistVersion
The Version string of the MariaDB server bundled with TGS installs.
string RawHostWatchdogVersion
The Version string of the host watchdog that was built alongside this TGS version.
string RawGraphQLVersion
The Version string of the TGS GraphQL API.
MasterVersionsAttribute(string rawConfigurationVersion, string rawInteropVersion, string rawWebpanelVersion, string rawHostWatchdogVersion, string rawMariaDBRedistVersion, string rawSwarmProtocolVersion, string rawGraphQLVersion)
Initializes a new instance of the MasterVersionsAttribute class.
string RawWebpanelVersion
The Version string of the control panel version built.
string RawInteropVersion
The Version string of the DMAPI interop version used.
string RawSwarmProtocolVersion
The Version string of the TGS swarm protocol.
string RawConfigurationVersion
The Version string of the Configuration version built.
static MasterVersionsAttribute Instance
Return the Assembly's instance of the MasterVersionsAttribute.