C# Class GammaJul.ReSharper.ForTea.Tree.T4File

Implementation of IT4File.
Inheritance: FileElementBase, IT4File
Afficher le fichier Open project: MrJul/ForTea Class Usage Examples

Méthodes publiques

Méthode Description
AddDirective ( IT4Directive directive ) : IT4Directive

Adds a new directive.

AddDirectiveAfter ( IT4Directive directive, IT4Directive anchor ) : IT4Directive

Adds a new directive after an existing one.

AddDirectiveBefore ( IT4Directive directive, IT4Directive anchor ) : IT4Directive

Adds a new directive before an existing one.

AddFeatureBlock ( GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock featureBlock ) : GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock

Adds a new feature block.

AddStatementBlock ( GammaJul.ReSharper.ForTea.Tree.T4StatementBlock statementBlock ) : GammaJul.ReSharper.ForTea.Tree.T4StatementBlock

Adds a new statement block.

GetDirectives ( ) : IEnumerable

Gets a list of directives contained in the file.

GetFeatureBlocks ( ) : IEnumerable

Gets a list of feature blocks contained in the file.

GetIncludes ( ) : IEnumerable

Gets a list of direct includes.

GetNonEmptyIncludePaths ( ) : IEnumerable
GetStatementBlocks ( ) : IEnumerable

Gets a list of statement blocks contained in the file.

RemoveChild ( IT4TreeNode node ) : void

Removes a child node from the file.

RemoveDirective ( IT4Directive directive ) : void

Removes a directive.

Method Details

AddDirective() public méthode

Adds a new directive.
public AddDirective ( IT4Directive directive ) : IT4Directive
directive IT4Directive The directive to add.
Résultat IT4Directive

AddDirectiveAfter() public méthode

Adds a new directive after an existing one.
public AddDirectiveAfter ( IT4Directive directive, IT4Directive anchor ) : IT4Directive
directive IT4Directive The directive to add.
anchor IT4Directive The existing directive where will be placed after.
Résultat IT4Directive

AddDirectiveBefore() public méthode

Adds a new directive before an existing one.
public AddDirectiveBefore ( IT4Directive directive, IT4Directive anchor ) : IT4Directive
directive IT4Directive The directive to add.
anchor IT4Directive The existing directive where will be placed before.
Résultat IT4Directive

AddFeatureBlock() public méthode

Adds a new feature block.
public AddFeatureBlock ( GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock featureBlock ) : GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock
featureBlock GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock The feature block to add.
Résultat GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock

AddStatementBlock() public méthode

Adds a new statement block.
public AddStatementBlock ( GammaJul.ReSharper.ForTea.Tree.T4StatementBlock statementBlock ) : GammaJul.ReSharper.ForTea.Tree.T4StatementBlock
statementBlock GammaJul.ReSharper.ForTea.Tree.T4StatementBlock The statement block to add.
Résultat GammaJul.ReSharper.ForTea.Tree.T4StatementBlock

GetDirectives() public méthode

Gets a list of directives contained in the file.
public GetDirectives ( ) : IEnumerable
Résultat IEnumerable

GetFeatureBlocks() public méthode

Gets a list of feature blocks contained in the file.
public GetFeatureBlocks ( ) : IEnumerable
Résultat IEnumerable

GetIncludes() public méthode

Gets a list of direct includes.
public GetIncludes ( ) : IEnumerable
Résultat IEnumerable

GetNonEmptyIncludePaths() public méthode

public GetNonEmptyIncludePaths ( ) : IEnumerable
Résultat IEnumerable

GetStatementBlocks() public méthode

Gets a list of statement blocks contained in the file.
public GetStatementBlocks ( ) : IEnumerable
Résultat IEnumerable

RemoveChild() public méthode

Removes a child node from the file.
public RemoveChild ( IT4TreeNode node ) : void
node IT4TreeNode The node to remove.
Résultat void

RemoveDirective() public méthode

Removes a directive.
public RemoveDirective ( IT4Directive directive ) : void
directive IT4Directive The directive to remove.
Résultat void