sharp-chat/SharpChat.Common/Reflection/ObjectConstructorAttribute.cs
2022-08-30 17:05:29 +02:00

13 lines
349 B
C#

using System;
namespace SharpChat.Reflection {
[AttributeUsage(AttributeTargets.Class)]
public abstract class ObjectConstructorAttribute : Attribute {
public string Name { get; }
public ObjectConstructorAttribute(string name) {
Name = name ?? throw new ArgumentNullException(nameof(name));
}
}
}