internal void PrepareToResend(ServerEndPoint resendTo, bool isMoved) { if (performance == null) { return; } var oldPerformance = performance; oldPerformance.SetCompleted(); performance = null; createdDateTime = DateTime.UtcNow; createdTimestamp = System.Diagnostics.Stopwatch.GetTimestamp(); performance = ProfileStorage.NewAttachedToSameContext(oldPerformance, resendTo, isMoved); performance.SetMessage(this); }
internal void SetProfileStorage(ProfileStorage storage) { performance = storage; performance.SetMessage(this); }