C# Class Deeply.Tools.SsisMetadataToClass.ClassWriter

Class writer definition.
Afficher le fichier Open project: jsnape/deeply Class Usage Examples

Private Properties

Свойство Type Description
WriteBeginClass void
WriteBeginNamespace void
WriteEndClass void
WriteEndNamespace void
WriteHeader void
WriteMetadata void
WriteProperty void
WriteUsing void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

ClassWriter() public méthode

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.
Résultat System

Write() public méthode

Writes the current sequence to the specified output.
public Write ( IEnumerable metadata ) : void
metadata IEnumerable Sequence of metadata to write.
Résultat void

Write() public static méthode

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.
Résultat void