Ejemplo n.º 1
0
 public IndentedTextWriterDelegator(TextWriter writer, string tabString, SafeIndentedTextWriter wrapper) :
     base(writer, tabString)
 {
     this.wrapper = wrapper;
 }
 /// <summary>
 /// Initializes a new instance of the CSharpDatabaseSchemaSerializer class to write to a given TextWriter
 /// </summary>
 /// <param name="writer">The TextWriter to write C# code to</param>
 /// <param name="typeConstructorGenerator">Code generator to use for type creation</param>
 /// <param name="specification">Level of specification to be used constructing SchemaObjects in the generated code</param>
 public CSharpDatabaseSchemaSerializer(SafeIndentedTextWriter writer, IDataTypeConstructorCodeGenerator typeConstructorGenerator, SchemaObjectSpecificationLevel specification)
 {
     this.Writer = writer;
     this.TypeConstructorGenerator = typeConstructorGenerator;
     this.SpecificationLevel = specification;
 }
Ejemplo n.º 3
0
 public IndentedTextWriterDelegator(TextWriter writer, string tabString, SafeIndentedTextWriter wrapper) :
     base(writer, tabString)
 {
     this.wrapper = wrapper;
 }