public IRdfeServiceRestClient Create(IHDInsightSubscriptionCredentials credentials, IAbstractionContext context, bool ignoreSslErrors) { if (credentials.Is<IHDInsightCertificateCredential>()) { return new RdfeServiceRestSimulatorClient(credentials.As<IHDInsightCertificateCredential>(), context); } return new RdfeServiceRestSimulatorClient(credentials.As<IHDInsightAccessTokenCredential>(), context); }
public IRdfeServiceRestClient Create(IHDInsightSubscriptionCredentials credentials, IAbstractionContext context, bool ignoreSslErrors) { if (credentials.Is <IHDInsightCertificateCredential>()) { return(new RdfeServiceRestSimulatorClient(credentials.As <IHDInsightCertificateCredential>(), context)); } return(new RdfeServiceRestSimulatorClient(credentials.As <IHDInsightAccessTokenCredential>(), context)); }
public ISubscriptionRegistrationClient Create(IHDInsightSubscriptionCredentials creds, IAbstractionContext context, bool ignoreSslErrors) { return(new SubscriptionRegistrationSimulatorClient(creds.As <IHDInsightCertificateCredential>(), context)); }
public ISubscriptionRegistrationClient Create(IHDInsightSubscriptionCredentials creds, IAbstractionContext context, bool ignoreSslErrors) { return new SubscriptionRegistrationSimulatorClient(creds.As<IHDInsightCertificateCredential>(), context); }