コード例 #1
0
        public virtual void BaseSetUp()
        {
            // Setup test server
            server = new HttpTestServer();
            server.Start();

            // Setup the serializer
            serializer = new JsonNetSerializer();
            serializer.failOnUnknownProperties = Newtonsoft.Json.MissingMemberHandling.Error;
        }
コード例 #2
0
        public virtual void SetUp()
        {
            oauth = new OAuthFlowImpl(clientId, clientSecret, redirectURL, authorizationURL, tokenURL, httpClient, json);

            // Setup test server
            server = new HttpTestServer();
            server.Start();

            // Setup the serializer
            JsonNetSerializer serializer = new JsonNetSerializer();

            serializer.failOnUnknownProperties = Newtonsoft.Json.MissingMemberHandling.Error;
        }