public ShellCodeEvent AddEvent(string Name, string FullDelegateName, bool CreatePropertyStyleEvent, object Location, vsCMAccess Access) { return (new ShellCodeEvent(_codeClass.AddEvent(Name, FullDelegateName, CreatePropertyStyleEvent, Location, Access))); }
protected override object NewEvent(NewCodeElementItemParams newCodeElementItemParams, string path) { return(_codeClass.AddEvent( path, newCodeElementItemParams.MemberType, false, Type.Missing, newCodeElementItemParams.AccessKind )); }