Re-organize all projects (#4166)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
|
||||
namespace Content.Server.NodeContainer.NodeGroups
|
||||
{
|
||||
/// <summary>
|
||||
/// Associates a <see cref="INodeGroup"/> implementation with a <see cref="NodeGroupID"/>.
|
||||
/// This is used to gurantee all <see cref="INode"/>s of the same <see cref="INode.NodeGroupID"/>
|
||||
/// have the same type of <see cref="INodeGroup"/>. Used by <see cref="INodeGroupFactory"/>.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
|
||||
public class NodeGroupAttribute : Attribute
|
||||
{
|
||||
public NodeGroupID[] NodeGroupIDs { get; }
|
||||
|
||||
public NodeGroupAttribute(params NodeGroupID[] nodeGroupTypes)
|
||||
{
|
||||
NodeGroupIDs = nodeGroupTypes;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user