Interface ICommandKeys

Namespace
Cratis.Arc.Commands
Assembly
Cratis.Arc.Core.dll

Defines the keys commands identify their targets by.

public interface ICommandKeys
Extension Methods

Methods

GetKeyFor(object)

Gets the key a command identifies its target by.

string? GetKeyFor(object command)

Parameters

command object

The command to read.

Returns

string

The key, or null when no rule recognizes one on the command.