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