using System; using System.Collections.Generic; namespace Encompass { [AttributeUsage(AttributeTargets.Class)] public class Receives : Attribute { public readonly HashSet ReceiveTypes; public Receives(params Type[] receiveTypes) { ReceiveTypes = new HashSet(receiveTypes); } } }