public static void FlutterStop(this ICakeContext context, FlutterStopSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterStopSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run("stop", settings ?? new FlutterStopSettings()); }
public static IEnumerable <string> FlutterStopWithResult(this ICakeContext context, FlutterStopSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterStopSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(runner.RunWithResult("stop", settings ?? new FlutterStopSettings())); }