Assembly level attribute that specifies the logging domain for the assembly.
System Object System Attribute log4net.Config RepositoryAttribute log4net.Config DomainAttributeNamespace: log4net.ConfigAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
[SerializableAttribute]
[ObsoleteAttribute("Use RepositoryAttribute instead of DomainAttribute")]
public sealed class DomainAttribute : RepositoryAttribute
[SerializableAttribute]
[ObsoleteAttribute("Use RepositoryAttribute instead of DomainAttribute")]
public sealed class DomainAttribute : RepositoryAttribute
<SerializableAttribute>
<ObsoleteAttribute("Use RepositoryAttribute instead of DomainAttribute")>
Public NotInheritable Class DomainAttribute
Inherits RepositoryAttribute
<SerializableAttribute>
<ObsoleteAttribute("Use RepositoryAttribute instead of DomainAttribute")>
Public NotInheritable Class DomainAttribute
Inherits RepositoryAttribute
[SerializableAttribute]
[ObsoleteAttribute(L"Use RepositoryAttribute instead of DomainAttribute")]
public ref class DomainAttribute sealed : public RepositoryAttribute
[SerializableAttribute]
[ObsoleteAttribute(L"Use RepositoryAttribute instead of DomainAttribute")]
public ref class DomainAttribute sealed : public RepositoryAttribute
DomainAttribute is obsolete. Use RepositoryAttribute instead of DomainAttribute.
Assemblies are mapped to logging domains. Each domain has its own
logging repository. This attribute specified on the assembly controls
the configuration of the domain. The Name property specifies the name
of the domain that this assembly is a part of. The RepositoryType
specifies the type of the repository objects to create for the domain. If
this attribute is not specified and a Name is not specified
then the assembly will be part of the default shared logging domain.
This attribute can only be specified on the assembly and may only be used
once per assembly.