ApplicationCrmEnabledAttribute.cs 693 B

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