C# Class 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
Exibir arquivo Open project: vnvizitiu/AOP

Public Methods

Method Description
ToString ( this instance, string format, IFormatProvider formatProvider = null ) : string

Returns a System.String that represents this instance.

Method Details

ToString() public static method

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.
return string