// Helper for one argument and one command actions. static InvokersParametersPair JustOneArgument(ICommandDescriptor command, object o) => JustOneArgument(command.AsSingleEnumerable(), o);
public UniqueNameCommandArgumentCountDictionary(ICommandDescriptor descriptor) { Descriptor = descriptor; DescriptorCollection = new FakeCollection <ICommandDescriptor>(Descriptor.AsSingleEnumerable()); }