Compartilhar via


CSharpMigrationCodeGenerator.WriteClassEnd(String, IndentedTextWriter) Método

Definição

Gera o código de fechamento para uma classe que foi iniciada com WriteClassStart.

protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId="namespace")]
protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Overridable Sub WriteClassEnd (namespace As String, writer As IndentedTextWriter)

Parâmetros

namespace
String

Namespace no qual o código deve ser gerado.

writer
IndentedTextWriter

Gravador de texto ao qual adicionar o código gerado.

Atributos

Aplica-se a