Layout2RawLayoutAdapter Class | Apache log4net™ SDK Documentation

Adapts any ILayout to a IRawLayout
Inheritance Hierarchy

System
Object
log4net.Layout
Layout2RawLayoutAdapter

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public class Layout2RawLayoutAdapter : IRawLayout

    Public Class Layout2RawLayoutAdapter
    	Implements IRawLayout

    public ref class Layout2RawLayoutAdapter : IRawLayout

    type Layout2RawLayoutAdapter =
        class
            interface IRawLayout
        end

The Layout2RawLayoutAdapter type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Layout2RawLayoutAdapter | Construct a new adapter

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| Format | Format the logging event as an object.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

Where an IRawLayout is required this adapter allows a ILayout to be specified.

See Also

#### Reference

log4net.Layout Namespace