/ src / settings-ui / Settings.UI.Library / Attributes / CmdConfigureIgnoreAttribute.cs
CmdConfigureIgnoreAttribute.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System;
 6  
 7  namespace Settings.UI.Library.Attributes;
 8  
 9  /// <summary>
10  /// Adding this attribute to a property makes it not configurable from the command line.
11  /// Typical use cases:
12  /// - Property represents internal module state.
13  /// - Property has a type that is unwieldy to type as a command line string.
14  /// </summary>
15  [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
16  public class CmdConfigureIgnoreAttribute : Attribute;