Ejemplo n.º 1
0
        private Task <CreationResultStatus> InvokeTemplateAsync(ITemplateMatchInfo templateToInvoke)
        {
            TemplateInvoker invoker = new TemplateInvoker(_environment, _commandInput, _telemetryLogger, _commandName, _inputGetter, _callbacks);

            return(invoker.InvokeTemplate(templateToInvoke));
        }
        private async Task <CreationResultStatus> InvokeTemplateAsync()
        {
            TemplateInvoker invoker = new TemplateInvoker(_environment, _commandInput, _telemetryLogger, _commandName, _inputGetter);

            return(await invoker.InvokeTemplate(_templateToInvoke));
        }