Table of Contents

Interface IOptionHandler

Namespace
log4net.Core
Assembly
log4net.dll

Interface used to delay activate a configured object.

public interface IOptionHandler

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.

Methods

ActivateOptions()

Activate the options that were previously set with calls to properties.

void ActivateOptions()

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 this method must be called after its properties have been set before the component can be used.