【问题标题】:Is it possible to show the inherit relationship of two interfaces in a Visual Studio code map?是否可以在 Visual Studio 代码图中显示两个接口的继承关系?
【发布时间】:2019-02-09 00:26:43
【问题描述】:
见下图。 IEnumerable<T> 继承自 IEnumerable 但它们之间没有箭头。我已经启用了所有过滤器,但仍然无法显示。我该怎么做?
【问题讨论】:
标签:
visual-studio
code-map
【解决方案1】:
您看到的是正常行为。 C# 只允许单一继承。接口不是继承的——它们是被实现的。根据该定义,您将不会有接口的继承箭头。