예제 #1
0
        static DependencyRoot()
        {
            var koppelSleutel   = "zelf invullen";
            var subscriptionKey = "zelf invullen";

            Config = new Config(subscriptionKey, koppelSleutel);
            Client = new B2BClient(Config);
        }
예제 #2
0
        static DependencyRoot()
        {
            var koppelSleutel   = "zelf invullen";
            var subscriptionKey = "zelf invullen";

            Config = new Config(subscriptionKey, koppelSleutel);
            Client = new B2BClient(Config);

            Client.AuthorizeAsync().GetAwaiter().GetResult();
        }
예제 #3
0
        static DependencyRoot()
        {
            var koppelSleutel   = "";
            var subscriptionKey = "";


            if (string.IsNullOrEmpty(koppelSleutel))
            {
                Assert.Inconclusive("No koppelSleutel configured");
            }
            if (string.IsNullOrEmpty(subscriptionKey))
            {
                Assert.Inconclusive("No subscriptionKey configured");
            }

            Config        = new Config(subscriptionKey, koppelSleutel);
            Config.Logger = x => Console.WriteLine(x);

            Client = new B2BClient(Config);
        }
 public void Setup()
 {
     _client = DependencyRoot.Client;
 }
예제 #5
0
 public void Setup()
 {
     _client = DependencyRoot.Client;
     _config = DependencyRoot.Config;
 }