public StoreClient( AzureSubscription subscription, ComputeManagementClient compute, StoreManagementClient store, MarketplaceClient marketplace, ManagementClient management) { this.subscriptionId = subscription.Id.ToString(); computeClient = compute; storeClient = store; MarketplaceClient = marketplace; managementClient = management; }
public StoreClient( WindowsAzureSubscription subscription, ComputeManagementClient compute, StoreManagementClient store, MarketplaceClient marketplace, ManagementClient management) { Validate.ValidateStringIsNullOrEmpty(subscription.SubscriptionId, null, true); this.subscriptionId = subscription.SubscriptionId; computeClient = compute; storeClient = store; MarketplaceClient = marketplace; managementClient = management; }