Interface IGroupingRuleMaker
Lets an attribute provide a custom grouping rule. Implement this interface on an attribute used by types, members, or construction parameters.
public interface IGroupingRuleMaker
- Extension Methods
Methods
Composes(ICustomAttributeProvider)
Returns whether this declaration may be combined with matching declarations.
bool Composes(ICustomAttributeProvider carrier)
Parameters
carrierICustomAttributeProvider
Returns
MakeRule(IReadOnlyList<ICustomAttributeProvider>)
Creates a rule from the declarations found on one type or construction.
IGroupingRule MakeRule(IReadOnlyList<ICustomAttributeProvider> carriers)
Parameters
carriersIReadOnlyList<ICustomAttributeProvider>