// 
// System.EnterpriseServices.MustRunInClientContextAttribute.cs
//
// Author:
//   Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//

using System;

namespace System.EnterpriseServices {
	[AttributeUsage (AttributeTargets.Class)]
	public sealed class MustRunInClientContextAttribute : Attribute {

		#region Fields

		bool val;

		#endregion // Fields

		#region Constructors

		public MustRunInClientContextAttribute () 
			: this (true)
		{
		}

		public MustRunInClientContextAttribute (bool val)
		{
			this.val = val;
		}

		#endregion // Constructors

		#region Properties

		public bool Value {
			get { return val; }
		}

		#endregion // Properties
	}
}
