コード例 #1
0
        static void Main(string[] args)
        {
            var g = new GostRepository();

            Console.WriteLine("Starting GOST");

            var tld         = "lvh.me";
            var projectname = "bert4";

            // StartGostInstance(g, projectname, tld);
            StopGostInstance(g, projectname, tld);
            var projects = g.GetProjects();

            Console.WriteLine("Projects: " + string.Join(",", projects));
            Console.WriteLine("Stopped.. press a key");
            Console.ReadKey();
        }
コード例 #2
0
        public List <string> Get()
        {
            var g = new GostRepository();

            return(g.GetProjects());
        }