Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ModuleExtensions.cs
Go to the documentation of this file.
1namespace System.Reflection;
2
3public static class ModuleExtensions
4{
5 public static bool HasModuleVersionId(this Module module)
6 {
7 ArgumentNullException.ThrowIfNull(module, "module");
8 return true;
9 }
10
11 public static Guid GetModuleVersionId(this Module module)
12 {
13 ArgumentNullException.ThrowIfNull(module, "module");
14 return module.ModuleVersionId;
15 }
16}
static void ThrowIfNull([NotNull] object? argument, [CallerArgumentExpression("argument")] string? paramName=null)
static Guid GetModuleVersionId(this Module module)
static bool HasModuleVersionId(this Module module)
virtual Guid ModuleVersionId
Definition Module.cs:49