Ejemplo n.º 1
0
 public Options()
 {
     // Since we create this instance the parser will not overwrite it
     GenerateDataVerb        = new GenerateDataOptions();
     ReplayVerb              = new ReplayOptions();
     GenerateLocalUploadVerb = new GenerateLocalUploadOptions();
     LocalVerb  = new GenerateLocalDataOptions();
     UploadVerb = new UploadDataOptions();
     CreateVerb = new CreateEventHubConsumerGroupOptions();
 }
 public Options()
 {
     // Since we create this instance the parser will not overwrite it
     GenerateDataVerb = new GenerateDataOptions();
     ReplayVerb = new ReplayOptions();
     GenerateLocalUploadVerb = new GenerateLocalUploadOptions();
     LocalVerb = new GenerateLocalDataOptions();
     UploadVerb = new UploadDataOptions();
     CreateVerb = new CreateEventHubConsumerGroupOptions();
 }
Ejemplo n.º 3
0
        private static void ProcessGenerateLocalDataOptions(GenerateLocalDataOptions options)
        {
            var deviceDetails = GetDeviceDetails();

            deviceDetails.RedirectToLocalFile = true;
            deviceDetails.RedirectFileName    = options.Filename;
            deviceDetails.RedirectType        = options.Type;

            var generator = new MessageGenerator(deviceDetails, null);

            generator.GenerateMessages();
        }
Ejemplo n.º 4
0
        private static void ProcessGenerateLocalDataOptions(GenerateLocalDataOptions options)
        {
            var deviceDetails = GetDeviceDetails();
            deviceDetails.RedirectToLocalFile = true;
            deviceDetails.RedirectFileName = options.Filename;
            deviceDetails.RedirectType = options.Type;

            var generator = new MessageGenerator(deviceDetails, null);
            generator.GenerateMessages();
        }