C# Class NArrange.Core.CodeArranger

Code arranger.
Inheritance: ICodeArranger
Mostrar archivo Open project: MarcStan/NArrange Class Usage Examples

Private Properties

Property Type Description
MoveUsings void

Public Methods

Method Description
Arrange ( ReadOnlyCollection originalElements ) : ReadOnlyCollection

Arranges the code elements according to the configuration supplied in the constructor.

CodeArranger ( CodeConfiguration configuration ) : System

Creates a new code arranger with the specified configuration.

Private Methods

Method Description
MoveUsings ( List elements, NamespaceElement namespaceElement ) : void

Moves using directives if configured to do so.

Method Details

Arrange() public method

Arranges the code elements according to the configuration supplied in the constructor.
public Arrange ( ReadOnlyCollection originalElements ) : ReadOnlyCollection
originalElements ReadOnlyCollection Original elements
return ReadOnlyCollection

CodeArranger() public method

Creates a new code arranger with the specified configuration.
public CodeArranger ( CodeConfiguration configuration ) : System
configuration NArrange.Core.Configuration.CodeConfiguration Configuration to use for arranging code members.
return System