C# Класс Examples.ExampleHelper

Static class containing some static helper method used during example execution.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DumpObjectProperties ( Object obj ) : void

Public method used to dump object on console. This method uses the private method dumpObjectOnString

ExampleMethodPrint ( string message, MethodBase method ) : void

This method prints on the Console the name of the example method

ExampleSetPrint ( string message, Type clazz ) : void

This method prints on the Console the name of the examples module (set of examples method)

Приватные методы

Метод Описание
dumpObjectOnString ( Object obj ) : string

This method recursively dump object properties in key-value format and return it in a string.

Описание методов

DumpObjectProperties() публичный статический Метод

Public method used to dump object on console. This method uses the private method dumpObjectOnString
public static DumpObjectProperties ( Object obj ) : void
obj Object Object to dump
Результат void

ExampleMethodPrint() публичный статический Метод

This method prints on the Console the name of the example method
public static ExampleMethodPrint ( string message, MethodBase method ) : void
message string Description of the actions executed by the example
method System.Reflection.MethodBase Method type for the example
Результат void

ExampleSetPrint() публичный статический Метод

This method prints on the Console the name of the examples module (set of examples method)
public static ExampleSetPrint ( string message, Type clazz ) : void
message string Description of the example set
clazz System.Type Type reference of the example module
Результат void