IndentedTextWriter Constructor

 

Initializes a new instance of the IndentedTextWriter class.

Namespace:   System.Data.Entity.Migrations.Utilities
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodIndentedTextWriter(TextWriter)

Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. Note that the writer passed to this constructor must use the CultureInfo specified by the Culture property.

System_CAPS_pubmethodIndentedTextWriter(TextWriter, String)

Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. Note that the writer passed to this constructor must use the CultureInfo specified by the Culture property.


IndentedTextWriter Constructor (TextWriter)

Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. Note that the writer passed to this constructor must use the CultureInfo specified by the Culture property.

public IndentedTextWriter(
	TextWriter writer
)

Parameters

writer
Type: System.IO.TextWriter

The TextWriter to use for output.


IndentedTextWriter Constructor (TextWriter, String)

Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. Note that the writer passed to this constructor must use the CultureInfo specified by the Culture property.

[SuppressMessageAttribute("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", 
	MessageId = "string")]
public IndentedTextWriter(
	TextWriter writer,
	string tabString
)

Parameters

writer
Type: System.IO.TextWriter

The TextWriter to use for output.

tabString
Type: System.String

The tab string to use for indentation.