コード例 #1
0
        public static void DotNetCoreBuildServerShutdown(this ICakeContext context, DotNetCoreBuildServerSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var buildServer = new DotNetCoreBuildServer(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            buildServer.Shutdown(settings ?? new DotNetCoreBuildServerSettings());
        }
コード例 #2
0
        protected override void RunTool()
        {
            var tool = new DotNetCoreBuildServer(FileSystem, Environment, ProcessRunner, Tools);

            tool.Shutdown(Settings);
        }