PS shows methods & properties but not events on explicitly defined interfaces - by Static Shock

Status : 

 


1
0
Sign in
to vote
ID 782942 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 4/3/2013 3:29:58 PM
Access Restriction Public

Description

If I implement an explicit interface on (via C#) on an object, then use that object in powershell the get-member command shows the explicit methods and properties but not the events.  IMO, it should not show explicitly implemented members unless cast to that interface, but if it's going to it should show all of them.

Please see http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9a2476ea-663c-4407-9781-84602bcb1750/
for a full discussion and example code.
Sign in to post a comment.