Bandwidth.Standard/BandwidthClient.cs
/// <summary>
/// Creates an object of the BandwidthClient using the values provided for the builder.
/// </summary>
Creates an object of the BandwidthClient using the values provided for the builder.
Creates an object of the BandwidthClient using the values provided for the builder .
public Builder ToBuilder()
        {
            Builder builder = new Builder()
                .Timeout(Timeout)
                .Environment(Environment)
                .BaseUrl(BaseUrl)
                .MessagingBasicAuthCredentials(messagingBasicAuthManager.BasicAuthUserName, messagingBasicAuthManager.BasicAuthPassword)
                .TwoFactorAuthBasicAuthCredentials(twoFactorAuthBasicAuthManager.BasicAuthUserName, twoFactorAuthBasicAuthManager.BasicAuthPassword)
                .VoiceBasicAuthCredentials(voiceBasicAuthManager.BasicAuthUserName, voiceBasicAuthManager.BasicAuthPassword)
                .WebRtcBasicAuthCredentials(webRtcBasicAuthManager.BasicAuthUserName, webRtcBasicAuthManager.BasicAuthPassword)
                .HttpClient(httpClient)
                .AuthManagers(authManagers);
            return builder;
        }
public Builder ToBuilder ( ) { Builder builder = new Builder ( ) . Timeout ( Timeout ) . Environment ( Environment ) . BaseUrl ( BaseUrl ) . MessagingBasicAuthCredentials ( messagingBasicAuthManager . BasicAuthUserName , messagingBasicAuthManager . BasicAuthPassword ) . TwoFactorAuthBasicAuthCredentials ( twoFactorAuthBasicAuthManager . BasicAuthUserName , twoFactorAuthBasicAuthManager . BasicAuthPassword ) . VoiceBasicAuthCredentials ( voiceBasicAuthManager . BasicAuthUserName , voiceBasicAuthManager . BasicAuthPassword ) . WebRtcBasicAuthCredentials ( webRtcBasicAuthManager . BasicAuthUserName , webRtcBasicAuthManager . BasicAuthPassword ) . HttpClient ( httpClient ) . AuthManagers ( authManagers ) ; return builder ; }
Creates an object of the BandwidthClient using the values provided for the builder.
Creates an object of the BandwidthClient using the values provided for the builder .