~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to src/core/Simias.log4net/src/Config/.svn/text-base/AliasDomainAttribute.cs.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#region Copyright & License
2
 
//
3
 
// Copyright 2001-2005 The Apache Software Foundation
4
 
//
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
8
 
//
9
 
// http://www.apache.org/licenses/LICENSE-2.0
10
 
//
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.
16
 
//
17
 
#endregion
18
 
 
19
 
// .NET Compact Framework 1.0 has no support for reading assembly attributes
20
 
#if !NETCF
21
 
 
22
 
using System;
23
 
 
24
 
namespace log4net.Config
25
 
{
26
 
        /// <summary>
27
 
        /// Assembly level attribute that specifies a domain to alias to this assembly's repository.
28
 
        /// </summary>
29
 
        /// <remarks>
30
 
        /// <para>
31
 
        /// <b>AliasDomainAttribute is obsolete. Use AliasRepositoryAttribute instead of AliasDomainAttribute.</b>
32
 
        /// </para>
33
 
        /// <para>
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.
36
 
        /// </para>
37
 
        /// <para>
38
 
        /// An assembly can alias another assembly's domain to its repository by
39
 
        /// specifying this attribute with the name of the target domain.
40
 
        /// </para>
41
 
        /// <para>
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.
44
 
        /// </para>
45
 
        /// </remarks>
46
 
        /// <author>Nicko Cadell</author>
47
 
        /// <author>Gert Driesen</author>
48
 
        [AttributeUsage(AttributeTargets.Assembly,AllowMultiple=true)]
49
 
        [Serializable]
50
 
        [Obsolete("Use AliasRepositoryAttribute instead of AliasDomainAttribute")]
51
 
        public sealed class AliasDomainAttribute : AliasRepositoryAttribute
52
 
        {
53
 
                #region Public Instance Constructors
54
 
 
55
 
                /// <summary>
56
 
                /// Initializes a new instance of the <see cref="AliasDomainAttribute" /> class with 
57
 
                /// the specified domain to alias to this assembly's repository.
58
 
                /// </summary>
59
 
                /// <param name="name">The domain to alias to this assemby's repository.</param>
60
 
                /// <remarks>
61
 
                /// <para>
62
 
                /// Obsolete. Use <see cref="AliasRepositoryAttribute"/> instead of <see cref="AliasDomainAttribute"/>.
63
 
                /// </para>
64
 
                /// </remarks>
65
 
                public AliasDomainAttribute(string name) : base(name)
66
 
                {
67
 
                }
68
 
 
69
 
                #endregion Public Instance Constructors
70
 
        }
71
 
}
72
 
 
73
 
#endif // !NETCF
 
 
b'\\ No newline at end of file'