17 lines
334 B
C#
17 lines
334 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Encompass
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.Class)]
|
||
|
public class Adds : Attribute
|
||
|
{
|
||
|
public readonly HashSet<Type> addTypes;
|
||
|
|
||
|
public Adds(params Type[] addTypes)
|
||
|
{
|
||
|
this.addTypes = new HashSet<Type>(addTypes);
|
||
|
}
|
||
|
}
|
||
|
}
|