Table of Contents

Interface IGroupingRuleMaker

Namespace
Rinku.Mapping
Assembly
Rinku.dll

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

carrier ICustomAttributeProvider

Returns

bool

MakeRule(IReadOnlyList<ICustomAttributeProvider>)

Creates a rule from the declarations found on one type or construction.

IGroupingRule MakeRule(IReadOnlyList<ICustomAttributeProvider> carriers)

Parameters

carriers IReadOnlyList<ICustomAttributeProvider>

Returns

IGroupingRule