IOptionHandler InterfaceApache log4net™ SDK Documentation
Interface used to delay activate a configured object.

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

public interface IOptionHandler

The IOptionHandler type exposes the following members.

Methods

  NameDescription
Public methodActivateOptions
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