2019-07-19 01:20:38 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Encompass
|
|
|
|
{
|
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
|
|
public class Sends : Attribute
|
|
|
|
{
|
2020-03-20 07:09:57 +00:00
|
|
|
public readonly HashSet<Type> SendTypes;
|
2019-07-19 01:20:38 +00:00
|
|
|
|
|
|
|
public Sends(params Type[] sendTypes)
|
|
|
|
{
|
2020-03-20 07:09:57 +00:00
|
|
|
this.SendTypes = new HashSet<Type>(sendTypes);
|
2019-07-19 01:20:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|