C# 클래스 SampleLayoutsApp.Layout.ForwardingLayout

The ForwardingLayout forwards to a nested ILayout
The ForwardingLayout base class is used by layouts that want to decorate other ILayout objects.
상속: ILayout, IOptionHandler
파일 보기 프로젝트 열기: aurora-sim/Aurora-Libs

공개 메소드들

메소드 설명
ActivateOptions ( ) : void

Activate component options

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This method must be implemented by the subclass.

Format ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void

Implement this method to create your own layout format.

This method is called by an appender to format the loggingEvent as text.

보호된 메소드들

메소드 설명
ForwardingLayout ( ) : System

메소드 상세

ActivateOptions() 공개 메소드

Activate component options

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This method must be implemented by the subclass.

public ActivateOptions ( ) : void
리턴 void

Format() 공개 메소드

Implement this method to create your own layout format.

This method is called by an appender to format the loggingEvent as text.

public Format ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void
writer System.IO.TextWriter The TextWriter to write the formatted event to
loggingEvent log4net.Core.LoggingEvent The event to format
리턴 void

ForwardingLayout() 보호된 메소드

protected ForwardingLayout ( ) : System
리턴 System