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>

正在生成的代码中包含的批注的名称。

返回

要包括的其他命名空间的列表。

适用于