private static void InvokeActions(string ids, ControlAction action) { var actions = ids .Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries) .Select(id => new InvokeAction(new Guid(id), action)).ToArray(); ClientPort.Tell(actions); }
public GroupingSearcher( InvokeAction[] invokeActions, ControlAction controlAction, QueueControlConfiguration controlConfiguration, Action<string> logWarning) { InvokeActions = invokeActions; ControlAction = controlAction; ControlConfiguration = controlConfiguration; LogWarning = logWarning; }
public QueueItem(QueueControl control, ControlAction action) { Control = control; Action = action; }
// ReSharper disable once MemberCanBePrivate.Global - public access makes it easier to invoke actions when you have stored a list of supported actions public InvokeAction(Guid deviceId, ControlAction action) { Action = action; DeviceId = deviceId; }
public CommandBuilder(ControlAction action) { Action = action; }
protected bool Equals(ControlAction other) { return string.Equals(Name, other.Name, StringComparison.CurrentCultureIgnoreCase); }
public ActionToBeQueued(QueueControl control, ControlAction action) { Control = control; Action = action; }