| File: System\ComponentModel\Composition\PartNotDiscoverableAttribute.cs | Web Access |
| Project: src\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj (System.ComponentModel.Composition) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.ComponentModel.Composition { /// <summary> /// Place on a type that should not be discovered as a <see cref="Primitives.ComposablePart" /> in /// a <see cref="Primitives.ComposablePartCatalog" />. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public sealed class PartNotDiscoverableAttribute : Attribute { /// <summary> /// Initializes a new instance of the <see cref="PartNotDiscoverableAttribute"/> class. /// </summary> public PartNotDiscoverableAttribute() { } } }