IOptionHandler Interface | Apache log4net™ SDK Documentation

Interface used to delay activate a configured object.

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

C#
VB
C++
F#
Copy

    public interface IOptionHandler

    Public Interface IOptionHandler

    public interface class IOptionHandler

    type IOptionHandler =  interface end

The IOptionHandler type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| ActivateOptions | Activate the options that were previously set with calls to properties.

Top
Remarks

This allows an object to defer activation of its options until all options have been set. This is required for components which have related options that remain ambiguous until all are set.

If a component implements this interface then the ActivateOptions
method must be called by the container after its all the configured properties have been set and before the component can be used.

See Also

#### Reference

log4net.Core Namespace