internal override void Dump(DumpContext dumpContext)
		{
			base.Dump(dumpContext);
			dumpContext.Indent();
			_sequenceManager.Dump(dumpContext);
			dumpContext.Unindent();
		}
Example #2
0
		internal void Dump(DumpContext dumpContext)
		{
			dumpContext.AppendLine("Sequence Id = " + _id.ToString() + " Count = " + this.Count.ToString() + " Subscribers = " + this.SubscriberCount.ToString());
			dumpContext.Indent();
			int count = Math.Min(this.Count, 20);
			StringBuilder sb = new StringBuilder();
			sb.Append( "[ " );
			for(int i = 0; i < count; i++)
			{
				if( i > 0 )
					sb.Append(", ");
				Identity identity = this[i];
				sb.Append( "[" );
				foreach(DictionaryEntry entry in identity)
				{
					sb.Append( identity[entry.Key].ToString() );
				}
				sb.Append( "]" );
			}
			sb.Append( " ]" );
			dumpContext.AppendLine(sb.ToString());
			dumpContext.Unindent();
		}
Example #3
0
		internal virtual void Dump(DumpContext dumpContext)
		{
			dumpContext.AppendLine("Destination Id = " + this.Id);
		}
Example #4
0
		internal void Dump(DumpContext dumpContext)
		{
			dumpContext.AppendLine("SequenceManager, Items count = " + _itemIdToItemHash.Count.ToString() + ", Subscribers = " + _clientIdToSequenceHash.Count.ToString());
			Sequence[] sequences = this.GetSequences();
			if( sequences.Length > 0 )
			{
				dumpContext.AppendLine("Sequences");
				foreach(Sequence sequence in sequences)
				{
					dumpContext.Indent();
					sequence.Dump(dumpContext);
					dumpContext.Unindent();
				}
			}
			else
			{
				//dumpContext.AppendLine("No sequences");
			}
		}