<PackageReference Include="Castle.Core" Version="3.0.0.3001" />

GroupAttribute

public class GroupAttribute : Attribute
Assigns a property to a group.
using System; namespace Castle.Components.DictionaryAdapter { [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] public class GroupAttribute : Attribute { public object[] Group { get; set; } public GroupAttribute(object group) { Group = new object[1] { group }; } public GroupAttribute(params object[] group) { Group = group; } } }