public static ProfileStorage NewAttachedToSameContext(ProfileStorage resentFor, ServerEndPoint server, bool isMoved) { return(new ProfileStorage(resentFor.PushToWhenFinished, server, resentFor, isMoved ? RetransmissionReasonType.Moved : RetransmissionReasonType.Ask)); }
private ProfileStorage(ConcurrentProfileStorageCollection pushTo, ServerEndPoint server, ProfileStorage resentFor, RetransmissionReasonType?reason) { PushToWhenFinished = pushTo; OriginalProfiling = resentFor; Server = server; RetransmissionReason = reason; }
internal ProfiledCommandEnumerable(ProfileStorage head) { Head = head; }
/// <summary> /// Disposes the enumeration. /// subsequent attempts to enumerate results in undefined behavior. /// </summary> public void Dispose() { CurrentBacker = Head = null; }
/// <summary> /// Resets the enumeration. /// </summary> public void Reset() { CurrentBacker = null; }
internal Enumerator(ProfileStorage head) { Head = head; CurrentBacker = null; }