C# 클래스 StatePrinting.Stateprinter

A class able to dump an object graph to a string. class inheritance hierarchies as well as cyclic graphs are supported. Simply call the PrintObject with an object or object-graph to get a string representation. The printing process is thread safe. The state printer is highly customizable both in terms of which types and fields are printed as well as how printing of values is done.
파일 보기 프로젝트 열기: kbilsted/StatePrinter

공개 프로퍼티들

프로퍼티 타입 설명
Configuration StatePrinting.Configurations.Configuration

공개 메소드들

메소드 설명
PrintObject ( object objectToPrint ) : string

Print an object graph to a string.

PrintObject ( object objectToPrint, string rootname ) : string

Print an object graph to a string.

Stateprinter ( ) : System

Create an state printer using the ConfigurationHelper.GetStandardConfiguration

Stateprinter ( Configuration configuration ) : System

Create an state printer using the supplied configuration.

메소드 상세

PrintObject() 공개 메소드

Print an object graph to a string.
public PrintObject ( object objectToPrint ) : string
objectToPrint object What to print.
리턴 string

PrintObject() 공개 메소드

Print an object graph to a string.
public PrintObject ( object objectToPrint, string rootname ) : string
objectToPrint object What to print.
rootname string The name of the root as it is printed.
리턴 string

Stateprinter() 공개 메소드

Create an state printer using the ConfigurationHelper.GetStandardConfiguration
public Stateprinter ( ) : System
리턴 System

Stateprinter() 공개 메소드

Create an state printer using the supplied configuration.
public Stateprinter ( Configuration configuration ) : System
configuration StatePrinting.Configurations.Configuration
리턴 System

프로퍼티 상세

Configuration 공개적으로 프로퍼티

Get the configuration for further fine-tuning
public Configuration,StatePrinting.Configurations Configuration
리턴 StatePrinting.Configurations.Configuration