~john-park-west/concordion-net/builderconfig

« back to all changes in this revision

Viewing changes to Concordion_Config.Spec/Builder/ExtendedBuilder.cs

  • Committer: john.park.west@gmail.com
  • Date: 2010-09-26 23:31:49 UTC
  • Revision ID: john.park.west@gmail.com-20100926233149-3fjcuij7pmstux5d
Updates to allow user commands via new config "Builder" in Concordion.config and implemention of BaseInputDirectory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;
 
3
using System.Linq;
 
4
using System.Text;
 
5
using Concordion.Internal;
 
6
using Concordion_Config.Spec.Command;
 
7
 
 
8
namespace Concordion_Config.Spec.Builder
 
9
{
 
10
    public class ExtendedBuilder : ConcordionBuilder
 
11
    {
 
12
        private string EXTENSION_COMMAND_NAMESPACE = "http://www.fictioushostname.abc/2007/extension-commands";
 
13
 
 
14
        public ExtendedBuilder()
 
15
        {
 
16
            WithCommand(EXTENSION_COMMAND_NAMESPACE, "bannedword", new BannedWordCommand());
 
17
            WithCommand(EXTENSION_COMMAND_NAMESPACE, "screenshot", new ScreenshotCommand());
 
18
 
 
19
        }
 
20
    }
 
21
}