public static IExecute ParseTokens(string[] args) { if(args.Count() != 8) throw new ApplicationException("unable to complete request ensure that the requisite number of parameters are used"); var factory = new ApplicationFactory(args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]); return factory.GetExecutor(); }
public VmDelete(ApplicationFactory factory) { _applicationFactory = factory; }
public WebsiteGet(ApplicationFactory factory) { _subscriptionId = factory.SubscriptionId; _certificate = factory.ManagementCertificate; _websiteName = factory.CloudServiceName; }
public MobileCreate(ApplicationFactory factory) { _subscriptionId = factory.SubscriptionId; _certificate = factory.ManagementCertificate; _mobileServiceName = factory.CloudServiceName; }
public VmCreateLinux(ApplicationFactory factory) { _applicationFactory = factory; }
public VmGet(ApplicationFactory factory) { _applicationFactory = factory; }
public WebsiteCreate(ApplicationFactory factory) { _subscriptionId = factory.SubscriptionId; _certificate = factory.ManagementCertificate; _websiteName = factory.CloudServiceName; }