Class CommandCustomPropertyAttribute
- Namespace
- OneImlx.Terminal.Commands.Declarative
- Assembly
- OneImlx.Terminal.dll
Declares a CommandDescriptor custom property.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class CommandCustomPropertyAttribute : Attribute
- Inheritance
-
CommandCustomPropertyAttribute
- Inherited Members
Remarks
Each custom property must have a unique key within a command.
Constructors
CommandCustomPropertyAttribute(string, object)
Initialize a new instance.
public CommandCustomPropertyAttribute(string key, object value)
Parameters
Properties
Key
The property key.
public string Key { get; }
Property Value
Value
The property value.
public object Value { get; }