AliasDomainAttribute ClassApache log4net™ SDK Documentation
Assembly level attribute that specifies a domain to alias to this assembly's repository.
Inheritance Hierarchy

OnlineSystem Object
  OnlineSystem Attribute
    log4net.Config AliasRepositoryAttribute
      log4net.Config AliasDomainAttribute

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

[SerializableAttribute]
[ObsoleteAttribute("Use AliasRepositoryAttribute instead of AliasDomainAttribute")]
public sealed class AliasDomainAttribute : AliasRepositoryAttribute
Remarks

AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.

An assembly's logger repository is defined by its DomainAttribute, however this can be overridden by an assembly loaded before the target assembly.

An assembly can alias another assembly's domain to its repository by specifying this attribute with the name of the target domain.

This attribute can only be specified on the assembly and may be used as many times as necessary to alias all the required domains.

See Also