[Extension()] public static IEventRecording WithSender( IEventRecording eventRecording, object expectedSender )
Parameters
- eventRecording
- expectedSender
Return Value
Returns only the events that comes from that sender.
[Extension()] public static IEventRecording WithSender( IEventRecording eventRecording, object expectedSender )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2