Ejemplo n.º 1
0
    internal Confirmable UnconfirmedFor(ApplicationMessage message, IEnumerable <Node> nodes)
    {
        var allOtherNodes = nodes as Node[] ?? nodes.ToArray();

        if (allOtherNodes.Contains(_node))
        {
            throw new Exception();
        }

        var confirmable = new Confirmable(message, allOtherNodes);

        _expectedConfirmables.Add(confirmable);
        return(confirmable);
    }
 public InvokePluginControlChange(Guid pluginId, Confirmable<ControlChange> change)
 {
     PluginId = pluginId;
     Change = change;
 }