Example #1
0
        public EndpointNode(CloudIdentity identity, ServiceCatalog serviceCatalog, Endpoint endpoint)
        {
            if (identity == null)
                throw new ArgumentNullException("identity");
            if (serviceCatalog == null)
                throw new ArgumentNullException("serviceCatalog");
            if (endpoint == null)
                throw new ArgumentNullException("endpoint");

            _identity = identity;
            _serviceCatalog = serviceCatalog;
            _endpoint = endpoint;
        }
 public CloudFilesEndpointNode(CloudIdentity identity, ServiceCatalog serviceCatalog, Endpoint endpoint)
     : base(identity, serviceCatalog, endpoint)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceCatalog"/> class
 /// with the specified name, username, and endpoints.
 /// </summary>
 /// <param name="name">The display name of the service.</param>
 /// <param name="type">The canonical name of the service.</param>
 /// <param name="endpoints">A collection of <see cref="Endpoint"/> objects describing the service endpoints.</param>
 public ServiceCatalog(string name, string type, Endpoint[] endpoints)
 {
     Name = name;
     Type = type;
     Endpoints = endpoints;
 }
 public CloudBlockStorageEndpointNode(CloudIdentity identity, ServiceCatalog serviceCatalog, Endpoint endpoint)
     : base(identity, serviceCatalog, endpoint)
 {
 }
 public CloudMonitoringEndpointNode(CloudIdentity identity, ServiceCatalog serviceCatalog, Endpoint endpoint)
     : base(identity, serviceCatalog, endpoint)
 {
 }
 public CloudLoadBalancersEndpointNode(CloudIdentity identity, ServiceCatalog serviceCatalog, Endpoint endpoint)
     : base(identity, serviceCatalog, endpoint)
 {
 }