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;
 }
Esempio n. 3
0
 internal ProfiledCommandEnumerable(ProfileStorage head)
 {
     Head = head;
 }
Esempio n. 4
0
 /// <summary>
 /// Disposes the enumeration.
 /// subsequent attempts to enumerate results in undefined behavior.
 /// </summary>
 public void Dispose()
 {
     CurrentBacker = Head = null;
 }
Esempio n. 5
0
 /// <summary>
 /// Resets the enumeration.
 /// </summary>
 public void Reset()
 {
     CurrentBacker = null;
 }
Esempio n. 6
0
 internal Enumerator(ProfileStorage head)
 {
     Head          = head;
     CurrentBacker = null;
 }