DeviceDependentGenerator added.

This commit is contained in:
mlemanczyk committed 2025-12-18 07:37:53 +01:00
1 parent 23748ad3d2
commit 9faa397364
8 files changed
+669 -4

No files matched your search

@@ -0,0 +1,15 @@
using System;
namespace PerfectNumbers.Core;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
public sealed class DeviceDependentTemplateAttribute : Attribute
{
public DeviceDependentTemplateAttribute(Type enumType)
{
EnumType = enumType ?? throw new ArgumentNullException(nameof(enumType));
}
public Type EnumType { get; }
}