C# 클래스 StatePrinting.ValueConverters.RollingGuidValueConverter

Handles the printing of guids, where each guid is transformed into a very readable form by transforming a small integer into the guid-format. When the same guid is to be printed multiple times, it retains its new simpler-to-read value. This is nice for unit testing, since guids now become stable across multiple executions
상속: IValueConverter
파일 보기 프로젝트 열기: kbilsted/StatePrinter 1 사용 예제들

공개 메소드들

메소드 설명
CanHandleType ( Type t ) : bool
Convert ( object source ) : string

비공개 메소드들

메소드 설명
CreateRollingGuid ( ) : string

메소드 상세

CanHandleType() 공개 메소드

public CanHandleType ( Type t ) : bool
t System.Type
리턴 bool

Convert() 공개 메소드

public Convert ( object source ) : string
source object
리턴 string