예제 #1
0
        public void CreateContext03()
        {
            var ctx = new PdfClientContext("https://myapps.mycompany.com:1234/api", new KeyRequestAuthenticator("key2"));

            Assert.AreEqual <Uri>(new Uri("https://myapps.mycompany.com:1234/api"), ctx.BaseUrl);
        }
예제 #2
0
        public void CreateContext04()
        {
            var ctx = new PdfClientContext("http://localhost:7071/somefolder", new KeyRequestAuthenticator("key2"));

            Assert.AreEqual <Uri>(new Uri("http://localhost:7071/somefolder"), ctx.BaseUrl);
        }
예제 #3
0
        public void CreateContext01()
        {
            var ctx = new PdfClientContext("appname", new KeyRequestAuthenticator("key1"));

            Assert.AreEqual <Uri>(new Uri("https://appname.azurewebsites.net/api"), ctx.BaseUrl);
        }