예제 #1
0
        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);
        }
예제 #2
0
 public virtual void Visit(PlaceholderNode node)
 {
     throw new InvalidOperationException();
 }
예제 #3
0
 public override void Visit(PlaceholderNode node)
 {
   BeginNonTextNode();
   AppendNode(new PlaceholderNode(node.Id));
   EndNonTextNode();
 }