C# Class NArrange.Core.RegionArranger

Element arranger for adding members in regions.
Inheritance: IElementArranger
Mostrar archivo Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
ArrangeElement ( ICodeElement parentElement, ICodeElement codeElement ) : void

Arranges the specified code element into the parent.

CanArrange ( ICodeElement codeElement ) : bool

Determines whether or not this arranger can handle arrangement of the specified element.

CanArrange ( ICodeElement parentElement, ICodeElement codeElement ) : bool

Determines whether or not this arranger can handle arrangement of the specified element.

RegionArranger ( RegionConfiguration regionConfiguration, ConfigurationElement parentConfiguration ) : System

Creates a new RegionArranger.

Private Methods

Method Description
InitializeChildrenArranger ( ) : void

Intitializes the arranger for children of the region.

Method Details

ArrangeElement() public method

Arranges the specified code element into the parent.
public ArrangeElement ( ICodeElement parentElement, ICodeElement codeElement ) : void
parentElement ICodeElement Parent element to arrange within.
codeElement ICodeElement Code element to arrange.
return void

CanArrange() public method

Determines whether or not this arranger can handle arrangement of the specified element.
public CanArrange ( ICodeElement codeElement ) : bool
codeElement ICodeElement The code element.
return bool

CanArrange() public method

Determines whether or not this arranger can handle arrangement of the specified element.
public CanArrange ( ICodeElement parentElement, ICodeElement codeElement ) : bool
parentElement ICodeElement The parent element.
codeElement ICodeElement The code element.
return bool

RegionArranger() public method

Creates a new RegionArranger.
public RegionArranger ( RegionConfiguration regionConfiguration, ConfigurationElement parentConfiguration ) : System
regionConfiguration NArrange.Core.Configuration.RegionConfiguration Region configuration.
parentConfiguration NArrange.Core.Configuration.ConfigurationElement Parent configuration.
return System