Share via


CSharpMigrationCodeGenerator.WriteClassEnd(String, IndentedTextWriter) Method

Definition

Generates the closing code for a class that was started with 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)

Parameters

namespace
String

Namespace that code should be generated in.

writer
IndentedTextWriter

Text writer to add the generated code to.

Attributes

Applies to