* CurrencyWrapper.cs: Fix file name.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / IDispatchImplAttribute.cs
1 //
2 // System.Runtime.InteropServices.IDispatchImplAttribute.cs
3 //
4 // Author:
5 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
6 //
7
8 using System;
9 using System.Runtime.Serialization;
10
11 namespace System.Runtime.InteropServices
12 {
13         [AttributeUsage (AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
14         public sealed class IDispatchImplAttribute : Attribute
15         {
16                 private IDispatchImplType Impl;
17
18                 public IDispatchImplAttribute (IDispatchImplType implType)
19                 {
20                         Impl = implType;
21                 }
22
23                 public IDispatchImplAttribute (short implType)
24                 {
25                         Impl = (IDispatchImplType)implType;
26                 }
27
28                 public IDispatchImplType Value {
29                         get { return Impl; } 
30                 }
31         }
32 }