public override void StoreCustomEvent(IPersistQueryable singleEvent)
        {
            Debug.WriteLine("TestEventStream.StoreCustomEvent");
            var e = new ActivityEventArgs();

            e.Arguments.Add("singleEvent", singleEvent);
            StoreCustomEventCalled(this, e);
        }
        public override void EndActivity(string activityName, string activityInstance)
        {
            Debug.WriteLine("TestEventStream.EndActivity");
            var e = new ActivityEventArgs();

            e.Arguments.Add("activityName", activityName);
            e.Arguments.Add("activityInstance", activityInstance);
            EndActivityCalled(this, e);
        }
        public override void EnableContinuation(string activityName, string activityInstance, string continuationToken)
        {
            Debug.WriteLine("TestEventStream.EnableContinuation");
            var e = new ActivityEventArgs();

            e.Arguments.Add("activityName", activityName);
            e.Arguments.Add("activityInstance", activityInstance);
            e.Arguments.Add("continuationToken", continuationToken);
            EnableContinuationCalled(this, e);
        }
        public override void UpdateActivity(string activityName, string activityInstance, params object[] data)
        {
            Debug.WriteLine("TestEventStream.UpdateActivity");
            var e = new ActivityEventArgs();

            e.Arguments.Add("activityName", activityName);
            e.Arguments.Add("activityInstance", activityInstance);
            e.Arguments.Add("data", data);
            UpdateActivityCalled(this, e);
        }
        public override void AddRelatedActivity(string activityName, string activityID, string relatedActivityName, string relatedTraceID)
        {
            Debug.WriteLine("TestEventStream.AddRelatedActivity");
            var e = new ActivityEventArgs();

            e.Arguments.Add("activityName", activityName);
            e.Arguments.Add("activityID", activityID);
            e.Arguments.Add("relatedActivityName", relatedActivityName);
            e.Arguments.Add("relatedTraceID", relatedTraceID);
            AddRelatedActivityCalled(this, e);
        }
        public override void AddReference(string activityName, string activityID, string referenceType, string referenceName, string referenceData)
        {
            Debug.WriteLine("TestEventStream.AddReference");
            var e = new ActivityEventArgs();

            e.Arguments.Add("activityName", activityName);
            e.Arguments.Add("activityId", activityID);
            e.Arguments.Add("referenceType", referenceType);
            e.Arguments.Add("referenceName", referenceName);
            e.Arguments.Add("referenceData", referenceData);
            AddReferenceCalled(this, e);
        }