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