I need another (dozen) pair of eyes on this. The following code:
Interface iRuleEntity Function GetRuleViolations() As List(Of RuleViolation) End Interface Partial Public Class Feedback Implements iRuleEntity Public Function GetRuleViolations() As List(Of RuleViolation) Return Nothing End Function End Class
is giving me this error:
'Feedback' must implement 'Function GetRuleViolations() As System.Collections.Generic.List(Of RuleViolation)' for interface 'iRuleEntity'.
What am I missing?
You haven’t said that
GetRuleViolationsimplementsiRuleEntity.GetRuleViolations. It’s not implicit like it is in C#.From the docs for
Implements:So:
(Note the line continuation on the first line of the function.)