3
// This is a simple command called MyCommand. If you're going to
4
// create a Command addin, you can start by copying this code
5
// to begin your own command class.
10
namespace MyAddinNamespace
13
public class MyCommand : ICommand
18
return "The name of the command.";
22
public string Description {
24
return "A description of the command.";
30
return "my-command-icon";
34
public Type[] SupportedItemTypes {
37
/* Supported item types go here. */
42
public Type[] SupportedItemTypes {
45
/* Supported modifier item types go here. */
50
public bool SupportsItem (IItem item)
55
public bool SupportsModifierItemForItems (IItem[] items, IItem modItem)
60
public void Perform (IItem[] items, IItem[] modItems)
62
// This is where the magic happens.
b'\\ No newline at end of file'