protected OAuthTests() { Interceptor = new HttpClientInterceptorOptions() .ThrowsOnMissingRegistration() .RegisterBundle(Path.Combine(GetType().Name.Replace("Tests", string.Empty), "bundle.json")); LoopbackRedirectHandler = new LoopbackRedirectHandler { RedirectUri = RedirectUri }; }
protected OAuthTests() { Interceptor = new HttpClientInterceptorOptions() .ThrowsOnMissingRegistration() .RegisterBundle(Path.Combine(GetType().Name.Replace("Tests", string.Empty, StringComparison.OrdinalIgnoreCase), "bundle.json")); LoopbackRedirectHandler = new LoopbackRedirectHandler { RedirectMethod = RedirectMethod, RedirectParameters = RedirectParameters, RedirectUri = RedirectUri, }; }
protected OAuthTests() { Interceptor = new HttpClientInterceptorOptions() .ThrowsOnMissingRegistration() .RegisterBundle(Path.Combine(BundleName, "bundle.json")); LoopbackRedirectHandler = new LoopbackRedirectHandler { RedirectMethod = RedirectMethod, RedirectParameters = RedirectParameters, RedirectUri = RedirectUri, }; }
protected OAuthTests() { Interceptor = new HttpClientInterceptorOptions() .ThrowsOnMissingRegistration() .RegisterBundle(Path.Combine(BundleName, "bundle.json")); #pragma warning disable DF0022 // Marks indisposed objects assinged to a property, originated in an object creation. LoopbackRedirectHandler = new LoopbackRedirectHandler { RedirectMethod = RedirectMethod, RedirectParameters = RedirectParameters, RedirectUri = RedirectUri, }; #pragma warning restore DF0022 // Marks indisposed objects assinged to a property, originated in an object creation. }