Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DesigntimeLicenseContext.cs
Go to the documentation of this file.
3
5
7{
9
10 public override LicenseUsageMode UsageMode => LicenseUsageMode.Designtime;
11
12 public override string? GetSavedLicenseKey(Type type, Assembly? resourceAssembly)
13 {
14 return null;
15 }
16
17 public override void SetSavedLicenseKey(Type type, string key)
18 {
19 if (type == null)
20 {
21 throw new ArgumentNullException("type");
22 }
23 _savedLicenseKeys[type.AssemblyQualifiedName] = key;
24 }
25}
override? string GetSavedLicenseKey(Type type, Assembly? resourceAssembly)