public void Attached(UInt32 requestId) { RequestId = requestId; ThreadId = (UInt32)Thread.CurrentThread.ManagedThreadId + ReflectInsightService.SessionId; SendPack = new SendPack(); IndentValue = new IndentValue(); CheckpointSet = new CheckpointSetContainer(); NamedCheckpoints = new Dictionary <String, CheckpointSetContainer>(); RequestMessageProperties = new MessagePropertyContainer(); States = new Dictionary <String, Object>(); Reset(); }
public Int32 GetNextCheckpoint(String name, Checkpoint cType) { CheckpointSetContainer set = null; if (NamedCheckpoints.ContainsKey(name)) { set = NamedCheckpoints[name]; } else { set = new CheckpointSetContainer(); NamedCheckpoints.Add(name, set); } return(set.GetNextCheckpoint(cType)); }