NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

8.3.1 Interface event implementation

Events can implement interface events. To implement an interface event, an event declaration specifies the Implements keyword and references the name of the interface event. It is an error for a private event to implement an interface event in a non-final class.

For an interface implementation to be valid, the containing type must name an interface in its implements list that contains an event whose fully qualified name, type, and parameter types exactly match those of the interface event implementation. A single event can implement multiple matching interface events. The name of an interface event in the implements list must follow the same rules as a method's implements list.

EventImplementsClause ::= [ Implements EventMemberNameList ]
EventMemberNameList ::=
 EventMemberName |
 EventMemberNameList , EventMemberName