18 lines
437 B
C#
18 lines
437 B
C#
// SzfObjectAttribute.cs
|
|
|
|
using System;
|
|
|
|
namespace SessionZero.Data;
|
|
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
|
|
public class SzfObjectAttribute : Attribute
|
|
{
|
|
public SzfObjectType ObjectType { get; }
|
|
public string TypeString { get; }
|
|
|
|
public SzfObjectAttribute(SzfObjectType objectType, string typeString)
|
|
{
|
|
ObjectType = objectType;
|
|
TypeString = typeString;
|
|
}
|
|
} |