Class DebugUtil
Miscellaneous debugging and development utilities.
Inheritance
System.Object
DebugUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RabbitMQ.Util
Assembly: RabbitMQ.Client.WinRT.dll
Syntax
public static class DebugUtil
Remarks
Not part of the public API.
Methods
| Improve this Doc View SourceDump(Byte[], TextWriter)
Print a hex dump of the supplied bytes to the supplied TextWriter.
Declaration
public static void Dump(byte[] bytes, TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | |
System.IO.TextWriter | writer |
DumpKeyValue(String, Object, TextWriter, Int32)
Prints an indented key/value pair; used by DumpProperties()
Declaration
public static void DumpKeyValue(string key, object value, TextWriter writer, int indent)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value | |
System.IO.TextWriter | writer | |
System.Int32 | indent |
Remarks
Recurses into the value using DumpProperties().
DumpProperties(Object, TextWriter, Int32)
Dump properties of objects to the supplied writer.
Declaration
public static void DumpProperties(object value, TextWriter writer, int indent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.IO.TextWriter | writer | |
System.Int32 | indent |