C# 클래스 NClass.CodeGenerator.SourceFileGenerator

파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( string directory ) : string

보호된 메소드들

메소드 설명
AddBlankLine ( ) : void
AddBlankLine ( bool indentation ) : void
SourceFileGenerator ( TypeBase type, string rootNamespace ) : System
WriteFileContent ( ) : void
WriteLine ( string text ) : void
WriteLine ( string text, bool indentation ) : void

비공개 메소드들

메소드 설명
AddIndent ( ) : void
FinishWork ( ) : void
WriteFileContent ( TextWriter writer ) : void

메소드 상세

AddBlankLine() 보호된 메소드

protected AddBlankLine ( ) : void
리턴 void

AddBlankLine() 보호된 메소드

protected AddBlankLine ( bool indentation ) : void
indentation bool
리턴 void

Generate() 공개 메소드

/// An error has occured while generating the source file. ///
public Generate ( string directory ) : string
directory string
리턴 string

SourceFileGenerator() 보호된 메소드

/// is null. ///
protected SourceFileGenerator ( TypeBase type, string rootNamespace ) : System
type NClass.Core.TypeBase
rootNamespace string
리턴 System

WriteFileContent() 보호된 추상적인 메소드

protected abstract WriteFileContent ( ) : void
리턴 void

WriteLine() 보호된 메소드

protected WriteLine ( string text ) : void
text string
리턴 void

WriteLine() 보호된 메소드

protected WriteLine ( string text, bool indentation ) : void
text string
indentation bool
리턴 void