Table of Contents

Class MethodGroupingRule

Namespace
Rinku.Mapping
Assembly
Rinku.dll

A boundary decided by a marked static (bool, TKey) Method(TKey stored, ...params). The stored key is the first parameter. every parameter after it is negotiated like an ordinary reader, so the method's inputs carry alternates and nesting.

public sealed class MethodGroupingRule : IGroupingRule
Inheritance
MethodGroupingRule
Implements
Inherited Members
Extension Methods

Constructors

MethodGroupingRule(MethodInfo)

Validates the static (bool, TKey) Method(TKey, ...) shape.

public MethodGroupingRule(MethodInfo method)

Parameters

method MethodInfo

Methods

MakeBoundary(Type, ColumnInfo[], ColModifier, IBoundaryBuild)

Creates a boundary for the supplied result columns. Key columns must be read with reuse so normal members may also use them.

public GroupingBoundary MakeBoundary(Type spanningType, ColumnInfo[] columns, ColModifier colModifier, IBoundaryBuild build)

Parameters

spanningType Type
columns ColumnInfo[]
colModifier ColModifier
build IBoundaryBuild

Returns

GroupingBoundary

The boundary, or null to try the next grouping rule.