C# 클래스 NArrange.Core.SortedInserter

Sorted inserter.
상속: IElementInserter
파일 보기 프로젝트 열기: MarcStan/NArrange 1 사용 예제들

공개 메소드들

메소드 설명
InsertElement ( ICodeElement parentElement, ICodeElement codeElement ) : void

Inserts an element into the parent using the strategy defined by the sort configuration.

SortedInserter ( ElementType elementType, SortBy sortBy ) : System

Creates a new sorted inserter using the specified sorting configuration.

비공개 메소드들

메소드 설명
CreateComparer ( SortBy sortBy ) : IComparer

Creates a comparer based on the sort configuration.

메소드 상세

InsertElement() 공개 메소드

Inserts an element into the parent using the strategy defined by the sort configuration.
public InsertElement ( ICodeElement parentElement, ICodeElement codeElement ) : void
parentElement ICodeElement Parent element.
codeElement ICodeElement Code element to insert.
리턴 void

SortedInserter() 공개 메소드

Creates a new sorted inserter using the specified sorting configuration.
public SortedInserter ( ElementType elementType, SortBy sortBy ) : System
elementType ElementType Type of the element.
sortBy NArrange.Core.Configuration.SortBy The sort by.
리턴 System