C# 클래스 Deeply.Tools.SsisMetadataToClass.ClassWriter

Class writer definition.
파일 보기 프로젝트 열기: jsnape/deeply 1 사용 예제들

Private Properties

프로퍼티 타입 설명
WriteBeginClass void
WriteBeginNamespace void
WriteEndClass void
WriteEndNamespace void
WriteHeader void
WriteMetadata void
WriteProperty void
WriteUsing void

공개 메소드들

메소드 설명
ClassWriter ( Options options, TextWriter output, string headerFormat ) : System

Initializes a new instance of the ClassWriter class.

Write ( IEnumerable metadata ) : void

Writes the current sequence to the specified output.

Write ( Options options, IEnumerable metadata, TextWriter output ) : void

Helper function to setup the class and write the output.

비공개 메소드들

메소드 설명
WriteBeginClass ( string className ) : void

Writes a begin class definition.

WriteBeginNamespace ( string namespaceName ) : void

Writes a begin namespace.

WriteEndClass ( ) : void

Writes the end of class.

WriteEndNamespace ( ) : void

Writes the end namespace.

WriteHeader ( string className ) : void

Writes the file header.

WriteMetadata ( IEnumerable metadata ) : void

Writes the metadata as class properties.

WriteProperty ( SsisMetadata item ) : void

Writes a single property.

WriteUsing ( ) : void

Writes the using statements.

메소드 상세

ClassWriter() 공개 메소드

Initializes a new instance of the ClassWriter class.
public ClassWriter ( Options options, TextWriter output, string headerFormat ) : System
options Options Output options.
output System.IO.TextWriter Output writer to send class to.
headerFormat string Header format text.
리턴 System

Write() 공개 메소드

Writes the current sequence to the specified output.
public Write ( IEnumerable metadata ) : void
metadata IEnumerable Sequence of metadata to write.
리턴 void

Write() 공개 정적인 메소드

Helper function to setup the class and write the output.
public static Write ( Options options, IEnumerable metadata, TextWriter output ) : void
options Options Output options.
metadata IEnumerable Sequence of metadata to write.
output System.IO.TextWriter Output writer to send class to.
리턴 void