C# Class 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
Inheritance: IValueConverter
Afficher le fichier Open project: kbilsted/StatePrinter Class Usage Examples

Méthodes publiques

Méthode Description
CanHandleType ( Type t ) : bool
Convert ( object source ) : string

Private Methods

Méthode Description
CreateRollingGuid ( ) : string

Method Details

CanHandleType() public méthode

public CanHandleType ( Type t ) : bool
t System.Type
Résultat bool

Convert() public méthode

public Convert ( object source ) : string
source object
Résultat string