protected internal virtual void VisitSpan(InheritsSpan span) { // Set the appropriate base type GeneratedClass.BaseTypes.Clear(); GeneratedClass.BaseTypes.Add(span.BaseClass); if (DesignTimeMode) { WriteHelperVariable(span.Content, InheritsHelperName); } }
protected override void VisitSpan(InheritsSpan span) { var baseType = new CodeTypeReference(span.BaseClass); GeneratedClass.BaseTypes.Clear(); GeneratedClass.BaseTypes.Add(baseType); if (DesignTimeMode) { WriteHelperVariable(span.Content, "__modelHelper"); } }