C# 클래스 ObjectPrinter.TypeInspectorsRegistration

Use this class to customize type inspector registration. Order inspectors will be applied: - Enum - Exception - Enumerables - Custom - CatchAll
파일 보기 프로젝트 열기: drewburlingame/ObjectPrinter 1 사용 예제들

공개 메소드들

메소드 설명
InspectAllMsTypes ( ) : TypeInspectorsRegistration

If not specified, ToString() is called on all types in 'System' and 'Microsoft' namespaces not already covered by a type inspector. Calling this will cause those types to be inspected by the CatchAll inspector

OverrideEnumInspector ( ITypeInspector enumTypeInspector ) : TypeInspectorsRegistration

Overrides the default EnumTypeInspector.

OverrideEnumerableInspectors ( ) : TypeInspectorsRegistration

DefaultEnumerableInspectors is used if not overridden

OverrideExceptionInspector ( ITypeInspector exceptionTypeInspector ) : TypeInspectorsRegistration

Overrides the default ExceptionTypeInspector.

RegisterInspector ( ITypeInspector inspector ) : TypeInspectorsRegistration

Inspectors to be used run before the CatchAll inspector

RegisterInspectors ( ) : TypeInspectorsRegistration

Inspectors to be used run before the CatchAll inspector

비공개 메소드들

메소드 설명
GetDefaultEnumerableInspectors ( ) : ITypeInspector[]
GetRegisteredInspectors ( ) : IEnumerable

메소드 상세

InspectAllMsTypes() 공개 메소드

If not specified, ToString() is called on all types in 'System' and 'Microsoft' namespaces not already covered by a type inspector. Calling this will cause those types to be inspected by the CatchAll inspector
public InspectAllMsTypes ( ) : TypeInspectorsRegistration
리턴 TypeInspectorsRegistration

OverrideEnumInspector() 공개 메소드

Overrides the default EnumTypeInspector.
public OverrideEnumInspector ( ITypeInspector enumTypeInspector ) : TypeInspectorsRegistration
enumTypeInspector ITypeInspector
리턴 TypeInspectorsRegistration

OverrideEnumerableInspectors() 공개 메소드

DefaultEnumerableInspectors is used if not overridden
public OverrideEnumerableInspectors ( ) : TypeInspectorsRegistration
리턴 TypeInspectorsRegistration

OverrideExceptionInspector() 공개 메소드

Overrides the default ExceptionTypeInspector.
public OverrideExceptionInspector ( ITypeInspector exceptionTypeInspector ) : TypeInspectorsRegistration
exceptionTypeInspector ITypeInspector
리턴 TypeInspectorsRegistration

RegisterInspector() 공개 메소드

Inspectors to be used run before the CatchAll inspector
public RegisterInspector ( ITypeInspector inspector ) : TypeInspectorsRegistration
inspector ITypeInspector
리턴 TypeInspectorsRegistration

RegisterInspectors() 공개 메소드

Inspectors to be used run before the CatchAll inspector
public RegisterInspectors ( ) : TypeInspectorsRegistration
리턴 TypeInspectorsRegistration