public SilentAction(string type, object position, Action<ISpecContext> action, Node node) { if (node.id.IsEmpty()) { throw new ArgumentOutOfRangeException(nameof(node), "The node must have an id"); } Position = position; this.type = type; Action = action; Node = node; Subject = position.ToString(); }