AnnotationCodeGenerator.GetExtraNamespaces(IEnumerable<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重写此方法以返回其他命名空间,这些命名空间应包含在为基架迁移生成的代码中。 默认实现返回空枚举。
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>
正在生成的代码中包含的批注的名称。
返回
要包括的其他命名空间的列表。