Skip to main content

IToCodeString

Interface for classes having the ToCodeString() method.

public interface IToCodeString

Methods

ToCodeString(Boolean, Int32)

Returns a string containing C# code to create this object. Useful to copy and paste from a debugger into another test or notebook for further investigation.

string ToCodeString(bool formatted, int indentation)

Parameters

formatted Boolean

indentation Int32

Returns

String