Table of Contents

Interface DebugPrint

Namespace
CriusNyx.Util
Assembly
CriusNyxUtil.dll

Apply this interface to an object to added .Debug support to that object. Otherwise .ToString will be used instead.

public interface DebugPrint
Extension Methods

Methods

EnumerateFields()

Should return a list of field names and their values so that they can be included in the .Debug output.

IEnumerable<(string, object)> EnumerateFields()

Returns

IEnumerable<(string, object)>

RegisterCustomType<T>(CustomDebugPrint<T>)

Register custom enumeration method for Debug Print.

public static void RegisterCustomType<T>(DebugPrint.CustomDebugPrint<T> enumerateField)

Parameters

enumerateField DebugPrint.CustomDebugPrint<T>

Type Parameters

T