StoryTeller.Grammars.SilentAction.SilentAction C# (CSharp) Method

SilentAction() public method

public SilentAction ( string type, object position, Action action, Node node ) : System
type string
position object
action Action
node StoryTeller.Model.Node
return System
        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();
        }