C# Class Endjin.Assembly.ChangeDetection.Infrastructure.LazyFormat

Support lazy formatting of strings. This is useful to delay the cration of trace messages until the trace is enabled.
Afficher le fichier Open project: endjin/Endjin.Assembly.ChangeDetection

Méthodes publiques

Méthode Description
LazyFormat ( Func formatMethod ) : System

Supply the method which will generate a string with captured variables of your enclosing method.

ToString ( ) : string

Return the string generated by the formatMethod.

Method Details

LazyFormat() public méthode

Supply the method which will generate a string with captured variables of your enclosing method.
public LazyFormat ( Func formatMethod ) : System
formatMethod Func
Résultat System

ToString() public méthode

Return the string generated by the formatMethod.
public ToString ( ) : string
Résultat string