C# 클래스 GammaJul.ReSharper.ForTea.Tree.T4File

Implementation of IT4File.
상속: FileElementBase, IT4File
파일 보기 프로젝트 열기: MrJul/ForTea 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddDirective() 공개 메소드

Adds a new directive.
public AddDirective ( IT4Directive directive ) : IT4Directive
directive IT4Directive The directive to add.
리턴 IT4Directive

AddDirectiveAfter() 공개 메소드

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.
리턴 IT4Directive

AddDirectiveBefore() 공개 메소드

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.
리턴 IT4Directive

AddFeatureBlock() 공개 메소드

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.
리턴 GammaJul.ReSharper.ForTea.Tree.T4FeatureBlock

AddStatementBlock() 공개 메소드

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.
리턴 GammaJul.ReSharper.ForTea.Tree.T4StatementBlock

GetDirectives() 공개 메소드

Gets a list of directives contained in the file.
public GetDirectives ( ) : IEnumerable
리턴 IEnumerable

GetFeatureBlocks() 공개 메소드

Gets a list of feature blocks contained in the file.
public GetFeatureBlocks ( ) : IEnumerable
리턴 IEnumerable

GetIncludes() 공개 메소드

Gets a list of direct includes.
public GetIncludes ( ) : IEnumerable
리턴 IEnumerable

GetNonEmptyIncludePaths() 공개 메소드

public GetNonEmptyIncludePaths ( ) : IEnumerable
리턴 IEnumerable

GetStatementBlocks() 공개 메소드

Gets a list of statement blocks contained in the file.
public GetStatementBlocks ( ) : IEnumerable
리턴 IEnumerable

RemoveChild() 공개 메소드

Removes a child node from the file.
public RemoveChild ( IT4TreeNode node ) : void
node IT4TreeNode The node to remove.
리턴 void

RemoveDirective() 공개 메소드

Removes a directive.
public RemoveDirective ( IT4Directive directive ) : void
directive IT4Directive The directive to remove.
리턴 void