AliasRepositoryAttribute ClassApache log4net™ SDK Documentation
Assembly level attribute that specifies a repository 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]
public class AliasRepositoryAttribute : Attribute
Remarks

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

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

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

See Also