1 // -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
5 using System
.ComponentModel
.Composition
.Primitives
;
7 namespace System
.ComponentModel
.Composition
10 /// Place on a type that should not be discovered as a <see cref="ComposablePart" /> in
11 /// a <see cref="ComposablePartCatalog" />.
13 [AttributeUsage(AttributeTargets
.Class
, AllowMultiple
= false, Inherited
= false)]
14 public sealed class PartNotDiscoverableAttribute
: Attribute
17 /// Initializes a new instance of the <see cref="PartNotDiscoverableAttribute"/> class.
19 public PartNotDiscoverableAttribute()