internal T GetKeplerServiceReferenceX <T>() where T : IDisposable { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; string basicAuthHeader = GetAuthenticationHeader(); var sfs = new KeplerServiceFactorySettings(new Uri(Config.RelativityRestUrl + "/API"), basicAuthHeader, WireProtocolVersion.V2); var ksf = new KeplerServiceFactory(sfs); return(ksf.GetClient <T>()); }
public TestKeplerServicesManager(ServiceFactorySettings settings) { this.settings = settings; this.keplerSettings = new KeplerServiceFactorySettings(new Uri(settings.RelativityRestUri, "/API"), settings.Credentials.GetAuthenticationHeaderValue(), WireProtocolVersion.V2); }
public TestKeplerServicesManager(KeplerServiceFactorySettings keplerSettings) { this.keplerSettings = keplerSettings; }