Пример #1
0
        private static void Prepare()
        {
            Injector = new DependencyInjector(new string[]
            {
                IoHelpers.GetStartupPath(),
                IoHelpers.GetActionPath()
            });

            var templatePath = Path.Combine(IoHelpers.GetStartupPath(), "Templates");

            if (!Directory.Exists(templatePath))
            {
                Directory.CreateDirectory(templatePath);
            }
        }