Ejemplo n.º 1
0
        public void TestMethod1()
        {
            var integration = new GitIntegration();
            integration.CreateGist(@"This is my test

            gist....");
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            try
            {
                var contents = File.ReadAllText(@"D:\test.txt");

                var integration = new GitIntegration();
                var url = integration.CreateGist(contents);

                GoToGist(url.Result);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Exception " + ex.ToString());
                Console.ReadKey();
            }
            var y = x;
        }