5b572a3a3ad07c9665458ae8b8d4f1b07b4e0b3f
[mono.git] / mcs / class / System.EnterpriseServices / System.EnterpriseServices.CompensatingResourceManager / ApplicationCrmEnabledAttribute.cs
1 //
2 // System.EnterpriseServices.CompensatingResourceManager.ApplicationCrmEnabledAttribute.cs
3 //
4 // Author:
5 //   Alejandro Sánchez Acosta (raciel@es.gnu.org)
6 //
7 // (C) Alejandro Sánchez Acosta
8 //
9
10 namespace System.EnterpriseServices.CompensatingResourceManager {
11
12         /// <summary>
13         ///   ApplicationCrmEnable Attribute for classes. 
14         /// </summary>
15         
16         [AttributeUsage(AttributeTargets.Assembly)]
17         public sealed class ApplicationCrmEnabledAttribute : Attribute
18         {
19                 public bool val;
20
21                 public ApplicationCrmEnabledAttribute()
22                 {
23                         val = true;
24                 }
25
26                 public ApplicationCrmEnabledAttribute (bool val)
27                 {
28                         this.val = val;
29                 }
30
31                 public bool Value 
32                 {
33                         get
34                         {
35                                 return val;
36                         }
37                 }
38         }
39 }