C# 클래스 Aspects.Logging.Extensions.FormattableObjectExtension

An extension method meant to present an object states using a string format
http://haacked.com/archive/2009/01/04/fun-with-named-formats-string-parsing-and-edge-cases.aspx/ http://www.hanselman.com/blog/ASmarterOrPureEvilToStringWithExtensionMethods.aspx
파일 보기 프로젝트 열기: vnvizitiu/AOP

공개 메소드들

메소드 설명
ToString ( this instance, string format, IFormatProvider formatProvider = null ) : string

Returns a System.String that represents this instance.

메소드 상세

ToString() 공개 정적인 메소드

Returns a System.String that represents this instance.
instance
public static ToString ( this instance, string format, IFormatProvider formatProvider = null ) : string
instance this The instance.
format string The format.
formatProvider IFormatProvider The format provider.
리턴 string