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