/// <summary>
 /// Initializes a new instance of the <see cref="CloudNetworkService"/> class.
 /// </summary>
 /// <param name="authenticationProvider">The authentication provider.</param>
 /// <param name="region">The region.</param>
 public CloudNetworkService(OpenStack.Authentication.IAuthenticationProvider authenticationProvider, string region)
 {
     RackspaceNet.Configure();
     _networkingApiBuilder = new NetworkingApiBuilder(ServiceType.CloudNetworks, authenticationProvider, region, true);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CloudNetworkService"/> class.
 /// </summary>
 /// <param name="authenticationProvider">The authentication provider.</param>
 /// <param name="region">The region.</param>
 public CloudNetworkService(OpenStack.Authentication.IAuthenticationProvider authenticationProvider, string region)
 {
     _networkingApiBuilder = new NetworkingApiBuilder(ServiceType.CloudNetworks, authenticationProvider, region);
 }