public override void Visit(PlaceholderNode node) { string value; if (!configuration.PlaceholderValues.TryGetValue(node.Id, out value)) { throw new InvalidOperationException(string.Format(Strings.ExValueForPlaceholderXIsNotSet, node.Id)); } result.Append(value); }
public virtual void Visit(PlaceholderNode node) { throw new InvalidOperationException(); }
public override void Visit(PlaceholderNode node) { BeginNonTextNode(); AppendNode(new PlaceholderNode(node.Id)); EndNonTextNode(); }