C# Class 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.
Inheritance: ILayout, IOptionHandler
Afficher le fichier Open project: aurora-sim/Aurora-Libs

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
ForwardingLayout ( ) : System

Method Details

ActivateOptions() public méthode

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
Résultat void

Format() public méthode

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
Résultat void

ForwardingLayout() protected méthode

protected ForwardingLayout ( ) : System
Résultat System