12 lines
349 B
C#
12 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));
|
|
}
|
|
}
|
|
}
|