DebugStringInfo

Ecng.Interop

Represents a collection of debug information fields that can be used for logging or debugging purposes.

方法

AddField
public void AddField(string name, object value)
debugStringInfo.AddField(name, value)

Adds a debug field with the specified name and value to the collection.

name
The name of the debug field. Cannot be null or empty.
value
The value of the debug field. Cannot be null.
ToString
public override string ToString()
result = debugStringInfo.ToString()

Returns a string representation of the tuple, with values separated by commas.

返回值: A string representing the tuple's values.