生成 UML class 图代码后 Visual Studio 2015 中函数前没有覆盖关键字

after generating code of UML class diagram there is no override keyword before function in Visual Studio 2015

在我的 UML class 图中,我有一个 class 继承自抽象 class 并且我从立体类型 属性 但是在生成代码之后,函数定义之前没有覆盖关键字。 有什么办法吗,我不知道?

我找到了答案,这很简单,在子 class if set Is Leaf 属性 of function most be overrided to True during code generating procedure, Visual Studio 立体类型继承除外 属性。

换句话说,函数不能同时被叶子和覆盖。