C# 클래스 Examples.ExampleHelper

Static class containing some static helper method used during example execution.
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
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