singrdk/base/Applications/Runtime/Full/System/CLSCompliantAttribute.cs

37 lines
1.0 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//=============================================================================
//
// Class: CLSCompliantAttribute
//
// Purpose: Container for assemblies.
//
//=============================================================================
2008-03-05 09:52:00 -05:00
2008-11-17 18:29:00 -05:00
namespace System
{
2008-03-05 09:52:00 -05:00
//| <include path='docs/doc[@for="CLSCompliantAttribute"]/*' />
[AttributeUsage (AttributeTargets.All, Inherited=true, AllowMultiple=false)]
public sealed class CLSCompliantAttribute : Attribute
{
private bool m_compliant;
//| <include path='docs/doc[@for="CLSCompliantAttribute.CLSCompliantAttribute"]/*' />
public CLSCompliantAttribute (bool isCompliant)
{
m_compliant = isCompliant;
}
//| <include path='docs/doc[@for="CLSCompliantAttribute.IsCompliant"]/*' />
public bool IsCompliant
{
get
{
return m_compliant;
}
}
}
}