예제 #1
0
        public static void Main(string[] args)
        {
            var fileSystem        = new Tools.XmlToMdConverter.FileSystem.FileSystem();
            var configuration     = new Configuration();
            var documentProcessor = new DocumentProcessor(configuration);

            new Program(
                fileSystem,
                new Dictionary <string, ConverterInformation>
            {
                { "value-type",
                  new ConverterInformation(
                      new ValueTypeXml2MdConverter(documentProcessor),
                      "Value Type'ların xml dökümanlarını Markdown formatına çevirip belirtilen klasör altına export eder.") },
                { "api",
                  new ConverterInformation(
                      new ApiXml2MdConverter(documentProcessor),
                      "API'ların xml dökümanlarını Markdown formatına çevirip belirtilen klasör altına export eder."
                      ) }
            },
                documentProcessor,
                configuration
                ).Execute(args);
        }
예제 #2
0
 public void SetUp()
 {
     new DirectoryInfo(RootPath).Create();
     testing = new Tools.XmlToMdConverter.FileSystem.FileSystem();
 }