2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / System.ComponentModel.Composition / src / ComponentModel / System / ComponentModel / Composition / PartNotDiscoverableAttribute.cs
blob1436a6a9725eadfacc32a233506da1a1f85e1a74
1 // -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
4 using System;
5 using System.ComponentModel.Composition.Primitives;
7 namespace System.ComponentModel.Composition
9 /// <summary>
10 /// Place on a type that should not be discovered as a <see cref="ComposablePart" /> in
11 /// a <see cref="ComposablePartCatalog" />.
12 /// </summary>
13 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
14 public sealed class PartNotDiscoverableAttribute : Attribute
16 /// <summary>
17 /// Initializes a new instance of the <see cref="PartNotDiscoverableAttribute"/> class.
18 /// </summary>
19 public PartNotDiscoverableAttribute()