public bool GetValue() { if (receivingFrom != null) { return(receivingFrom.GetValue()); } return(false); }
public void RecalculateOutput() { string output; OutputNode outputNode = GetOutputNode(); if (outputNode != null) { output = outputNode.GetValue(); } else { output = "Add an 'Output' node to get started"; } if (output != CachedOutput) { CachedOutput = output; OnOutputHasChanged?.Invoke(); } }