ApplyTo() public method

public ApplyTo ( ManyConsole.ConsoleCommand command ) : void
command ManyConsole.ConsoleCommand
return void
Beispiel #1
0
        public TestCommand()
        {
            this.IsCommand("test-api-access", "Visit https://developer.omniture.com/en_US/content_page/enterprise-api/c-get-web-service-access-to-the-enterprise-api to setup API access for a user and to find your API secret key.");

            Endpoint = new EndpointParameters();
            Endpoint.ApplyTo(this);
        }
        public GetCalculatedMetricsCommand()
        {
            this.IsCommand("get-metrics", "Lists calculated metrics.");
            this.HasRequiredOption("r=", "Report suite to use", v => Suite = v);

            Endpoint = new EndpointParameters();
            Endpoint.ApplyTo(this);
        }