示例#1
0
 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();
 }
示例#2
0
 public VmDelete(ApplicationFactory factory)
 {
     _applicationFactory = factory;
 }
 public WebsiteGet(ApplicationFactory factory)
 {
     _subscriptionId = factory.SubscriptionId;
     _certificate = factory.ManagementCertificate;
     _websiteName = factory.CloudServiceName;
 }
示例#4
0
 public MobileCreate(ApplicationFactory factory)
 {
     _subscriptionId = factory.SubscriptionId;
     _certificate = factory.ManagementCertificate;
     _mobileServiceName = factory.CloudServiceName;
 }
 public VmCreateLinux(ApplicationFactory factory)
 {
     _applicationFactory = factory;
 }
示例#6
0
 public VmGet(ApplicationFactory factory)
 {
     _applicationFactory = factory;
 }
 public WebsiteCreate(ApplicationFactory factory)
 {
     _subscriptionId = factory.SubscriptionId;
     _certificate    = factory.ManagementCertificate;
     _websiteName    = factory.CloudServiceName;
 }
示例#8
0
 public VmCreateLinux(ApplicationFactory factory)
 {
     _applicationFactory = factory;
 }