Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Validate() [2/2]

static ? License System.ComponentModel.LicenseManager.Validate ( Type type,
object? instance )
inlinestatic

Definition at line 356 of file LicenseManager.cs.

357 {
358 if (!ValidateInternal(type, instance, allowExceptions: true, out var license))
359 {
360 throw new LicenseException(type, instance);
361 }
362 return license;
363 }
static bool ValidateInternal(Type type, object instance, bool allowExceptions, out License license)

References System.type, and System.ComponentModel.LicenseManager.ValidateInternal().