ItemActionFactory.Ids for editors that offer the registered actions
This commit is contained in:
1 parent
8adcbc9c6d
commit
27f1cccce4
1 file changed
+3
@@ -31,6 +31,9 @@ namespace Cthangover.Core.Factories.Impls
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ids of the registered actions, for editors that offer them (<c>"null"</c>, no effect, is not among them).</summary>
|
||||
public IEnumerable<string> Ids => data.Keys;
|
||||
|
||||
/// <summary>Registers a single action under its <see cref="IItemAction.ID"/>; the first action of an id wins, null/empty ids are ignored.</summary>
|
||||
public void Register(IItemAction action)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user