Sdílet prostřednictvím


CSharpMigrationCodeGenerator.WriteClassEnd(String, IndentedTextWriter) Metoda

Definice

Vygeneruje uzavírací kód pro třídu, která byla spuštěna s 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)

Parametry

namespace
String

Obor názvů, ve kterém by měl být vygenerován kód.

writer
IndentedTextWriter

Zapisovač textu, do který chcete přidat vygenerovaný kód.

Atributy

Platí pro