CSharpMigrationCodeGenerator.WriteClassEnd(String, IndentedTextWriter) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生以 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)
參數
- namespace
- String
該代碼應該在命名空間產生。
- writer
- IndentedTextWriter
文字編輯器,用來加入產生的程式碼。
- 屬性