private void _methodManager_MethodRecordingComplete(object sender, MethodRecordingCompleteEventArgs e) { var recordingMethod = e.Method; var recordedMethod = new RecordedMethod(recordingMethod); _dataHelper.AddRecordedMethod(recordedMethod); }
protected virtual void OnMethodRecordingComplete(MethodRecordingCompleteEventArgs e) { EventHandler <MethodRecordingCompleteEventArgs> handler = MethodRecordingComplete; if (handler != null) { handler(this, e); } }