You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take CFunctionDiscoveryNotificationWrapper. It's defined as a default implementation of IFunctionDiscoveryNotification like so:
classCFunctionDiscoveryNotificationWrapper : publicIFunctionDiscoveryNotification
{
// Implements all 3 of IFunctionDiscoveryNotification methods with a stub, returning S_OK
}
CFunctionDiscoveryNotificationWrapper is appearing in the metadata, but it has two big issues:
It provides duplicate definitions of the 3 override methods. Specifically, IFunctionDiscoveryNotification has three methods in addition to IUnknown: OnUpdate, OnError, and OnEvent. CFunctionDiscoveryNotificationWrapper erroneously duplicates these three methods in its own type definition.
It is defined as an interface in the metadata. Seems like this should probably be a class. (Or perhaps not in the metadata at all?)
The text was updated successfully, but these errors were encountered:
Take
CFunctionDiscoveryNotificationWrapper
. It's defined as a default implementation ofIFunctionDiscoveryNotification
like so:CFunctionDiscoveryNotificationWrapper
is appearing in the metadata, but it has two big issues:IFunctionDiscoveryNotification
has three methods in addition toIUnknown
:OnUpdate
,OnError
, andOnEvent
.CFunctionDiscoveryNotificationWrapper
erroneously duplicates these three methods in its own type definition.The text was updated successfully, but these errors were encountered: