public GetWebsiteStats(List<string> args) {
     _config = new MetricsConfigEndpointConfiguration(args[0]);
     _website = args[1];
     _history = TimeSpan.Parse(args[2]);
     _filters = new List<string>();
     if(args.Count>3) {
         _filters = new [] { args[3] };
     }
 }
        private MetricsEndpointConfiguration GetSubscriptionCredentials(string subscriptionId) {
            var config = new MetricsConfigEndpointConfiguration(_optionalArguments.First());

            if(config.SubscriptionId != subscriptionId) {
                throw new InvalidOperationException("SubscriptionIds don't match");
            }

            return config;
        }
 public ListAllChartsForSubscription(List<string> args) {
     _config = new MetricsConfigEndpointConfiguration(args[0]);
     _subscriptionName = new Lazy<string>(FindSubcriptionName);
 }