C# Class NArrange.Core.GroupedInserter

Grouped inserter.
Inheritance: IElementInserter
显示文件 Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
GroupedInserter ( GroupBy groupBy ) : System

Creates a new GroupedInserter using the specified grouping configuration.

GroupedInserter ( GroupBy groupBy, IElementInserter innerInserter ) : System

Creates a new GroupedInserter using the specified grouping configuration and sorter.

InsertElement ( ICodeElement parentElement, ICodeElement codeElement ) : void

Inserts the element within the parent.

Private Methods

Method Description
GetGroupName ( ElementAttributeType elementFilterType, ICodeElement codeElement ) : string

Gets the name of the group the element falls into.

Method Details

GroupedInserter() public method

Creates a new GroupedInserter using the specified grouping configuration.
public GroupedInserter ( GroupBy groupBy ) : System
groupBy NArrange.Core.Configuration.GroupBy The group by.
return System

GroupedInserter() public method

Creates a new GroupedInserter using the specified grouping configuration and sorter.
public GroupedInserter ( GroupBy groupBy, IElementInserter innerInserter ) : System
groupBy NArrange.Core.Configuration.GroupBy The group by.
innerInserter IElementInserter The inner inserter.
return System

InsertElement() public method

Inserts the element within the parent.
public InsertElement ( ICodeElement parentElement, ICodeElement codeElement ) : void
parentElement ICodeElement Parent element to insert into.
codeElement ICodeElement Code element to insert.
return void