C# Class Common.Logging.Factory.AbstractLogger.FormatMessageCallbackFormattedMessage

显示文件 Open project: net-commons/common-logging

Protected Properties

Property Type Description
cachedArguments object[]
cachedFormat string
cachedMessage string
formatMessageCallback System.Action
formatProvider IFormatProvider

Public Methods

Method Description
FormatMessageCallbackFormattedMessage ( IFormatProvider formatProvider, System.Action formatMessageCallback ) : System

Initializes a new instance of the FormatMessageCallbackFormattedMessage class.

FormatMessageCallbackFormattedMessage ( System.Action formatMessageCallback ) : System

Initializes a new instance of the FormatMessageCallbackFormattedMessage class.

ToString ( ) : string

Calls formatMessageCallback and returns result.

Private Methods

Method Description
FormatMessage ( string format ) : string

Method Details

FormatMessageCallbackFormattedMessage() public method

Initializes a new instance of the FormatMessageCallbackFormattedMessage class.
public FormatMessageCallbackFormattedMessage ( IFormatProvider formatProvider, System.Action formatMessageCallback ) : System
formatProvider IFormatProvider The format provider.
formatMessageCallback System.Action The format message callback.
return System

FormatMessageCallbackFormattedMessage() public method

Initializes a new instance of the FormatMessageCallbackFormattedMessage class.
public FormatMessageCallbackFormattedMessage ( System.Action formatMessageCallback ) : System
formatMessageCallback System.Action The format message callback.
return System

ToString() public method

Calls formatMessageCallback and returns result.
public ToString ( ) : string
return string

Property Details

cachedArguments protected_oe property

The cached arguments
protected object[] cachedArguments
return object[]

cachedFormat protected_oe property

The cached format
protected string cachedFormat
return string

cachedMessage protected_oe property

The cached message
protected string cachedMessage
return string

formatMessageCallback protected_oe property

The format message callback
protected System.Action formatMessageCallback
return System.Action

formatProvider protected_oe property

The format provider
protected IFormatProvider formatProvider
return IFormatProvider