1
#region Copyright & License
3
// Copyright 2001-2005 The Apache Software Foundation
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
9
// http://www.apache.org/licenses/LICENSE-2.0
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
19
// .NET Compact Framework 1.0 has no support for reading assembly attributes
24
namespace log4net.Config
27
/// Assembly level attribute that specifies a domain to alias to this assembly's repository.
31
/// <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
34
/// An assembly's logger repository is defined by its <see cref="DomainAttribute"/>,
35
/// however this can be overridden by an assembly loaded before the target assembly.
38
/// An assembly can alias another assembly's domain to its repository by
39
/// specifying this attribute with the name of the target domain.
42
/// This attribute can only be specified on the assembly and may be used
43
/// as many times as necessary to alias all the required domains.
46
/// <author>Nicko Cadell</author>
47
/// <author>Gert Driesen</author>
48
[AttributeUsage(AttributeTargets.Assembly,AllowMultiple=true)]
50
[Obsolete("Use AliasRepositoryAttribute instead of AliasDomainAttribute")]
51
public sealed class AliasDomainAttribute : AliasRepositoryAttribute
53
#region Public Instance Constructors
56
/// Initializes a new instance of the <see cref="AliasDomainAttribute" /> class with
57
/// the specified domain to alias to this assembly's repository.
59
/// <param name="name">The domain to alias to this assemby's repository.</param>
62
/// Obsolete. Use <see cref="AliasRepositoryAttribute"/> instead of <see cref="AliasDomainAttribute"/>.
65
public AliasDomainAttribute(string name) : base(name)
69
#endregion Public Instance Constructors
b'\\ No newline at end of file'