PrimaryInteropAssemblyAttribute.cs 578 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute.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)]
  11. public sealed class PrimaryInteropAssemblyAttribute : Attribute
  12. {
  13. int major, minor;
  14. public PrimaryInteropAssemblyAttribute (int major, int minor)
  15. {
  16. this.major = major;
  17. this.minor = minor;
  18. }
  19. public int MajorVersion {
  20. get { return major; }
  21. }
  22. public int MinorVersion {
  23. get { return minor; }
  24. }
  25. }
  26. }