C# 클래스 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.
파일 보기 프로젝트 열기: endjin/Endjin.Assembly.ChangeDetection

공개 메소드들

메소드 설명
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.

메소드 상세

LazyFormat() 공개 메소드

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

ToString() 공개 메소드

Return the string generated by the formatMethod.
public ToString ( ) : string
리턴 string