コード例 #1
0
        public static void FlutterEmulators(this ICakeContext context, FlutterEmulatorsSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterEmulatorsSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run("emulators", settings ?? new FlutterEmulatorsSettings());
        }
コード例 #2
0
        public static IEnumerable <string> FlutterEmulatorsWithResult(this ICakeContext context, FlutterEmulatorsSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterEmulatorsSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("emulators", settings ?? new FlutterEmulatorsSettings()));
        }