AutomationProxyAttribute.cs 502 B

12345678910111213141516171819202122232425262728
  1. //
  2. // System.Runtime.InteropServices.AutomationProxyAttribute.cs
  3. //
  4. // Name: Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc.
  7. //
  8. using System;
  9. namespace System.Runtime.InteropServices {
  10. [AttributeUsage (AttributeTargets.Assembly | AttributeTargets.Class |
  11. AttributeTargets.Interface)]
  12. public sealed class AutomationProxyAttribute : Attribute
  13. {
  14. bool val;
  15. public AutomationProxyAttribute (bool val)
  16. {
  17. this.val = val;
  18. }
  19. public bool Value {
  20. get { return val; }
  21. }
  22. }
  23. }