C# Class NArrange.Core.CodeArranger

Code arranger.
Inheritance: ICodeArranger
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Private Properties

Свойство Type Description
MoveUsings void

Méthodes publiques

Méthode 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

Méthode Description
MoveUsings ( List elements, NamespaceElement namespaceElement ) : void

Moves using directives if configured to do so.

Method Details

Arrange() public méthode

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

CodeArranger() public méthode

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.
Résultat System