static DependencyRoot() { var koppelSleutel = "zelf invullen"; var subscriptionKey = "zelf invullen"; Config = new Config(subscriptionKey, koppelSleutel); Client = new B2BClient(Config); }
static DependencyRoot() { var koppelSleutel = "zelf invullen"; var subscriptionKey = "zelf invullen"; Config = new Config(subscriptionKey, koppelSleutel); Client = new B2BClient(Config); Client.AuthorizeAsync().GetAwaiter().GetResult(); }
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; }
public void Setup() { _client = DependencyRoot.Client; _config = DependencyRoot.Config; }