-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProgram.cs
More file actions
34 lines (30 loc) · 1.02 KB
/
Program.cs
File metadata and controls
34 lines (30 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeSnippetCutter
{
class Program
{
static void Main(string[] args)
{
// Location of GitHub folder, where all repositories are located
String baseGitHubFolder = @"E:\Aspose\Examples\GitHub\";
// Aspose.3D for .NET
String examples = baseGitHubFolder + @"Aspose_Cells_for_C\Examples\C",
snippets = baseGitHubFolder + @"Gist_Aspose_Cells_C_Fork";
try
{
ExamplesToSnippetsConverter converter = new ExamplesToSnippetsConverter();
converter.ProcessExamples(examples, snippets);
}
catch(Exception ex)
{
Console.WriteLine("ERROR processing the examples.\n\n" + ex.Message);
}
Console.WriteLine("\n\nProgram finished. Press any key to continue....");
Console.ReadKey();
}
}
}