aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Attributes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
committerJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
commit7e65590a55ba575d0086bdfc25addaf1051d799b (patch)
tree1dc11683170d45d80d7aab6eefdfcc836d3e773b /Prebuild/src/Core/Attributes
parentMake it clear that the "create region" command will reference ini files in th... (diff)
downloadopensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.zip
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.gz
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.bz2
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.xz
Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"
Source code is included for reference. This can go away again once Prebuild is updated with a more general mechanism for cleaning up files. The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
Diffstat (limited to 'Prebuild/src/Core/Attributes')
-rw-r--r--Prebuild/src/Core/Attributes/.svn/all-wcprops23
-rw-r--r--Prebuild/src/Core/Attributes/.svn/dir-prop-base5
-rw-r--r--Prebuild/src/Core/Attributes/.svn/entries130
-rw-r--r--Prebuild/src/Core/Attributes/.svn/prop-base/DataNodeAttribute.cs.svn-base9
-rw-r--r--Prebuild/src/Core/Attributes/.svn/prop-base/OptionNodeAttribute.cs.svn-base9
-rw-r--r--Prebuild/src/Core/Attributes/.svn/prop-base/TargetAttribute.cs.svn-base9
-rw-r--r--Prebuild/src/Core/Attributes/.svn/text-base/DataNodeAttribute.cs.svn-base72
-rw-r--r--Prebuild/src/Core/Attributes/.svn/text-base/OptionNodeAttribute.cs.svn-base71
-rw-r--r--Prebuild/src/Core/Attributes/.svn/text-base/TargetAttribute.cs.svn-base71
-rw-r--r--Prebuild/src/Core/Attributes/DataNodeAttribute.cs72
-rw-r--r--Prebuild/src/Core/Attributes/OptionNodeAttribute.cs71
-rw-r--r--Prebuild/src/Core/Attributes/TargetAttribute.cs71
12 files changed, 613 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Attributes/.svn/all-wcprops b/Prebuild/src/Core/Attributes/.svn/all-wcprops
new file mode 100644
index 0000000..bb28016
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/all-wcprops
@@ -0,0 +1,23 @@
1K 25
2svn:wc:ra_dav:version-url
3V 61
4/svnroot/dnpb/!svn/ver/295/trunk/Prebuild/src/Core/Attributes
5END
6OptionNodeAttribute.cs
7K 25
8svn:wc:ra_dav:version-url
9V 84
10/svnroot/dnpb/!svn/ver/295/trunk/Prebuild/src/Core/Attributes/OptionNodeAttribute.cs
11END
12DataNodeAttribute.cs
13K 25
14svn:wc:ra_dav:version-url
15V 82
16/svnroot/dnpb/!svn/ver/295/trunk/Prebuild/src/Core/Attributes/DataNodeAttribute.cs
17END
18TargetAttribute.cs
19K 25
20svn:wc:ra_dav:version-url
21V 80
22/svnroot/dnpb/!svn/ver/295/trunk/Prebuild/src/Core/Attributes/TargetAttribute.cs
23END
diff --git a/Prebuild/src/Core/Attributes/.svn/dir-prop-base b/Prebuild/src/Core/Attributes/.svn/dir-prop-base
new file mode 100644
index 0000000..a1989a0
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/dir-prop-base
@@ -0,0 +1,5 @@
1K 10
2svn:ignore
3V 5
4*.swp
5END
diff --git a/Prebuild/src/Core/Attributes/.svn/entries b/Prebuild/src/Core/Attributes/.svn/entries
new file mode 100644
index 0000000..1ce535e
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/entries
@@ -0,0 +1,130 @@
110
2
3dir
4323
5https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/src/Core/Attributes
6https://dnpb.svn.sourceforge.net/svnroot/dnpb
7
8
9
102009-02-19T06:47:52.218324Z
11295
12kunnis
13has-props
14
15
16
17
18
19
20
21
22
23
24
25
26
273355ff64-970d-0410-bbe8-d0fbd18be4fb
28
29OptionNodeAttribute.cs
30file
31
32
33
34
352010-09-10T22:51:44.000000Z
36fe1b8740374f76dcb84f73de54376d48
372009-02-19T06:47:52.218324Z
38295
39kunnis
40has-props
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
612240
62
63DataNodeAttribute.cs
64file
65
66
67
68
692010-09-10T22:51:44.000000Z
707988716ebc1c723842814e3eec197831
712009-02-19T06:47:52.218324Z
72295
73kunnis
74has-props
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
952270
96
97TargetAttribute.cs
98file
99
100
101
102
1032010-09-10T22:51:44.000000Z
104766d4782c2b50f82a7c98e1eb968f42d
1052009-02-19T06:47:52.218324Z
106295
107kunnis
108has-props
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
1292194
130
diff --git a/Prebuild/src/Core/Attributes/.svn/prop-base/DataNodeAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/prop-base/DataNodeAttribute.cs.svn-base
new file mode 100644
index 0000000..7b57b30
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/prop-base/DataNodeAttribute.cs.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 12
6svn:keywords
7V 23
8Author Date Id Revision
9END
diff --git a/Prebuild/src/Core/Attributes/.svn/prop-base/OptionNodeAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/prop-base/OptionNodeAttribute.cs.svn-base
new file mode 100644
index 0000000..7b57b30
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/prop-base/OptionNodeAttribute.cs.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 12
6svn:keywords
7V 23
8Author Date Id Revision
9END
diff --git a/Prebuild/src/Core/Attributes/.svn/prop-base/TargetAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/prop-base/TargetAttribute.cs.svn-base
new file mode 100644
index 0000000..7b57b30
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/prop-base/TargetAttribute.cs.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 12
6svn:keywords
7V 23
8Author Date Id Revision
9END
diff --git a/Prebuild/src/Core/Attributes/.svn/text-base/DataNodeAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/text-base/DataNodeAttribute.cs.svn-base
new file mode 100644
index 0000000..f1938a2
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/text-base/DataNodeAttribute.cs.svn-base
@@ -0,0 +1,72 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27using System.Collections.Specialized;
28
29namespace Prebuild.Core.Attributes
30{
31 /// <summary>
32 ///
33 /// </summary>
34 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple=true)]
35 public sealed class DataNodeAttribute : Attribute
36 {
37 #region Fields
38
39 private string m_Name = "unknown";
40
41 #endregion
42
43 #region Constructors
44
45 /// <summary>
46 /// Initializes a new instance of the <see cref="DataNodeAttribute"/> class.
47 /// </summary>
48 /// <param name="name">The name.</param>
49 public DataNodeAttribute(string name)
50 {
51 m_Name = name;
52 }
53
54 #endregion
55
56 #region Properties
57
58 /// <summary>
59 /// Gets the name.
60 /// </summary>
61 /// <value>The name.</value>
62 public string Name
63 {
64 get
65 {
66 return m_Name;
67 }
68 }
69
70 #endregion
71 }
72}
diff --git a/Prebuild/src/Core/Attributes/.svn/text-base/OptionNodeAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/text-base/OptionNodeAttribute.cs.svn-base
new file mode 100644
index 0000000..2d6a6a7
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/text-base/OptionNodeAttribute.cs.svn-base
@@ -0,0 +1,71 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27
28namespace Prebuild.Core.Attributes
29{
30 /// <summary>
31 ///
32 /// </summary>
33 [AttributeUsage(AttributeTargets.Field)]
34 public sealed class OptionNodeAttribute : Attribute
35 {
36 #region Fields
37
38 private string m_NodeName;
39
40 #endregion
41
42 #region Constructors
43
44 /// <summary>
45 /// Initializes a new instance of the <see cref="OptionNodeAttribute"/> class.
46 /// </summary>
47 /// <param name="nodeName">Name of the node.</param>
48 public OptionNodeAttribute(string nodeName)
49 {
50 m_NodeName = nodeName;
51 }
52
53 #endregion
54
55 #region Properties
56
57 /// <summary>
58 /// Gets the name of the node.
59 /// </summary>
60 /// <value>The name of the node.</value>
61 public string NodeName
62 {
63 get
64 {
65 return m_NodeName;
66 }
67 }
68
69 #endregion
70 }
71}
diff --git a/Prebuild/src/Core/Attributes/.svn/text-base/TargetAttribute.cs.svn-base b/Prebuild/src/Core/Attributes/.svn/text-base/TargetAttribute.cs.svn-base
new file mode 100644
index 0000000..5ad62ee
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/.svn/text-base/TargetAttribute.cs.svn-base
@@ -0,0 +1,71 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27
28namespace Prebuild.Core.Attributes
29{
30 /// <summary>
31 ///
32 /// </summary>
33 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
34 public sealed class TargetAttribute : Attribute
35 {
36 #region Fields
37
38 private string m_Name;
39
40 #endregion
41
42 #region Constructors
43
44 /// <summary>
45 /// Initializes a new instance of the <see cref="TargetAttribute"/> class.
46 /// </summary>
47 /// <param name="name">The name.</param>
48 public TargetAttribute(string name)
49 {
50 m_Name = name;
51 }
52
53 #endregion
54
55 #region Properties
56
57 /// <summary>
58 /// Gets the name.
59 /// </summary>
60 /// <value>The name.</value>
61 public string Name
62 {
63 get
64 {
65 return m_Name;
66 }
67 }
68
69 #endregion
70 }
71}
diff --git a/Prebuild/src/Core/Attributes/DataNodeAttribute.cs b/Prebuild/src/Core/Attributes/DataNodeAttribute.cs
new file mode 100644
index 0000000..f1938a2
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/DataNodeAttribute.cs
@@ -0,0 +1,72 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27using System.Collections.Specialized;
28
29namespace Prebuild.Core.Attributes
30{
31 /// <summary>
32 ///
33 /// </summary>
34 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple=true)]
35 public sealed class DataNodeAttribute : Attribute
36 {
37 #region Fields
38
39 private string m_Name = "unknown";
40
41 #endregion
42
43 #region Constructors
44
45 /// <summary>
46 /// Initializes a new instance of the <see cref="DataNodeAttribute"/> class.
47 /// </summary>
48 /// <param name="name">The name.</param>
49 public DataNodeAttribute(string name)
50 {
51 m_Name = name;
52 }
53
54 #endregion
55
56 #region Properties
57
58 /// <summary>
59 /// Gets the name.
60 /// </summary>
61 /// <value>The name.</value>
62 public string Name
63 {
64 get
65 {
66 return m_Name;
67 }
68 }
69
70 #endregion
71 }
72}
diff --git a/Prebuild/src/Core/Attributes/OptionNodeAttribute.cs b/Prebuild/src/Core/Attributes/OptionNodeAttribute.cs
new file mode 100644
index 0000000..2d6a6a7
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/OptionNodeAttribute.cs
@@ -0,0 +1,71 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27
28namespace Prebuild.Core.Attributes
29{
30 /// <summary>
31 ///
32 /// </summary>
33 [AttributeUsage(AttributeTargets.Field)]
34 public sealed class OptionNodeAttribute : Attribute
35 {
36 #region Fields
37
38 private string m_NodeName;
39
40 #endregion
41
42 #region Constructors
43
44 /// <summary>
45 /// Initializes a new instance of the <see cref="OptionNodeAttribute"/> class.
46 /// </summary>
47 /// <param name="nodeName">Name of the node.</param>
48 public OptionNodeAttribute(string nodeName)
49 {
50 m_NodeName = nodeName;
51 }
52
53 #endregion
54
55 #region Properties
56
57 /// <summary>
58 /// Gets the name of the node.
59 /// </summary>
60 /// <value>The name of the node.</value>
61 public string NodeName
62 {
63 get
64 {
65 return m_NodeName;
66 }
67 }
68
69 #endregion
70 }
71}
diff --git a/Prebuild/src/Core/Attributes/TargetAttribute.cs b/Prebuild/src/Core/Attributes/TargetAttribute.cs
new file mode 100644
index 0000000..5ad62ee
--- /dev/null
+++ b/Prebuild/src/Core/Attributes/TargetAttribute.cs
@@ -0,0 +1,71 @@
1#region BSD License
2/*
3Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehead (dan05a@gmail.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27
28namespace Prebuild.Core.Attributes
29{
30 /// <summary>
31 ///
32 /// </summary>
33 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
34 public sealed class TargetAttribute : Attribute
35 {
36 #region Fields
37
38 private string m_Name;
39
40 #endregion
41
42 #region Constructors
43
44 /// <summary>
45 /// Initializes a new instance of the <see cref="TargetAttribute"/> class.
46 /// </summary>
47 /// <param name="name">The name.</param>
48 public TargetAttribute(string name)
49 {
50 m_Name = name;
51 }
52
53 #endregion
54
55 #region Properties
56
57 /// <summary>
58 /// Gets the name.
59 /// </summary>
60 /// <value>The name.</value>
61 public string Name
62 {
63 get
64 {
65 return m_Name;
66 }
67 }
68
69 #endregion
70 }
71}