Example #1
0
        public static void WriteOutput(FeatureContext featureContext)
        {
            ILogger <FunctionsController> logger = ContainerBindings.GetServiceProvider(featureContext).GetRequiredService <ILogger <FunctionsController> >();
            FunctionsController           functionsController = FunctionsBindings.GetFunctionsController(featureContext);

            logger.LogAllAndClear(functionsController.GetFunctionsOutput());
        }
Example #2
0
        public static void WriteOutput(FeatureContext featureContext)
        {
            ILogger             logger = featureContext.Get <ILogger>();
            FunctionsController functionsController = FunctionsBindings.GetFunctionsController(featureContext);

            logger.LogAllAndClear(functionsController.GetFunctionsOutput());
        }
        public static void WriteOutput(FeatureContext featureContext)
        {
            FunctionsController functionsController = FunctionsBindings.GetFunctionsController(featureContext);

            functionsController.GetFunctionsOutput().WriteAllToConsoleAndClear();
        }