Table of Contents

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

key string

The property key.

value object

The property value.

Properties

Key

The property key.

public string Key { get; }

Property Value

string

Value

The property value.

public object Value { get; }

Property Value

object

See Also