private static ClientOptions CreateClientOptions(CcyPairRateProviderClient.ServiceBinder serviceBinder, Func <ClientOptionsBuilder, ClientOptionsBuilder> setup = null)
        {
            ClientOptionsBuilder builder = new ClientOptionsBuilder().WithApplicationId(Id).WithDefaultConfiguration();

            serviceBinder.Bind(builder);
            if (setup != null)
            {
                builder = setup(builder);
            }
            return(builder.Build());
        }
 public CcyPairRateProviderClient(CcyPairRateProviderClient.ServiceBinder serviceBinder, Func <ClientOptionsBuilder, ClientOptionsBuilder> setup = null) : base(CreateClientOptions(serviceBinder, setup))
 {
 }