語言

AnnotationCodeGenerator.GetExtraNamespaces(IEnumerable<String>) 方法

定義

覆寫此方法以回傳應包含在支架遷移程式碼中的額外命名空間。 預設實作會回傳空的列舉。

public virtual System.Collections.Generic.IEnumerable<string> GetExtraNamespaces(System.Collections.Generic.IEnumerable<string> annotationNames);
abstract member GetExtraNamespaces : seq<string> -> seq<string>
override this.GetExtraNamespaces : seq<string> -> seq<string>
Public Overridable Function GetExtraNamespaces (annotationNames As IEnumerable(Of String)) As IEnumerable(Of String)

參數

annotationNames
IEnumerable<String>

包含在產生程式碼中的註解名稱。

傳回

一份需要包含的其他命名空間清單。

適用於