Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ComVisible.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad22b254c23dcb41ae581b2e562870ceb9c94df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// System.Runtime.InteropServices.ComVisible.cs
//
// Author:
//   Nick Drochak (ndrochak@gol.com)
//
// (C) 2002 Nick Drochak
//

using System;

namespace System.Runtime.InteropServices {

	[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class
		| AttributeTargets.Struct | AttributeTargets.Enum |
		AttributeTargets.Method | AttributeTargets.Property |
		AttributeTargets.Field | AttributeTargets.Interface |
		AttributeTargets.Delegate)]
	public sealed class ComVisibleAttribute : Attribute 
	{
		private bool Visible = false;
		public ComVisibleAttribute(bool value) {Visible = value;}
		public bool Value { get {return Visible;} }
	}
}