>.NewDynamicMethod();
16 | emit.NewObject(typeof(MyCommandTwo), Type.EmptyTypes);
17 | emit.Return();
18 |
19 | var com = emit.CreateDelegate()();
20 | }
21 | }
22 |
23 | public class MyCommand
24 | {
25 | public int Id { get; set; }
26 |
27 | protected MyCommand()
28 | {
29 | }
30 | }
31 |
32 | public class MyCommandTwo : MyCommand
33 | {
34 | public MyCommandTwo()
35 | {
36 | }
37 | }
38 | }
--------------------------------------------------------------------------------
/test/Never.Test/Serialization/Enum.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Never.Test
6 | {
7 | public enum ABC : long
8 | {
9 | A = 1,
10 | B = 2,
11 | C = long.MaxValue,
12 | }
13 |
14 | public enum Machine
15 | {
16 | car = 2,
17 | mobile = 3
18 | }
19 | }
--------------------------------------------------------------------------------
/test/Never.Test/SqlClient/CallTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.Test
8 | {
9 | ///
10 | ///
11 | ///
12 | public class CallTest : Program
13 | {
14 | }
15 | }
--------------------------------------------------------------------------------
/test/Never.Test/SqlClient/DeleteTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.Test
8 | {
9 | ///
10 | ///
11 | ///
12 | public class DeleteTest : Program
13 | {
14 | }
15 | }
--------------------------------------------------------------------------------
/test/Never.Test/SqlClient/UpdateTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.Test
8 | {
9 | ///
10 | ///
11 | ///
12 | public class UpdateTest : Program
13 | {
14 | //System.Net.Sockets.AddressFamily
15 | }
16 | }
--------------------------------------------------------------------------------
/test/Never.TestMvc/App_Start/FilterConfig.cs:
--------------------------------------------------------------------------------
1 | using System.Web;
2 | using System.Web.Mvc;
3 |
4 | namespace Never.TestMvc
5 | {
6 | public class FilterConfig
7 | {
8 | public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9 | {
10 | filters.Add(new HandleErrorAttribute());
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/App_Start/RouteConfig.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.Mvc;
6 | using System.Web.Routing;
7 |
8 | namespace Never.TestMvc
9 | {
10 | public class RouteConfig
11 | {
12 | public static void RegisterRoutes(RouteCollection routes)
13 | {
14 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15 |
16 | routes.MapRoute(
17 | name: "Default",
18 | url: "{controller}/{action}/{id}",
19 | defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20 | );
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Content/Site.css:
--------------------------------------------------------------------------------
1 | body {
2 | padding-top: 50px;
3 | padding-bottom: 20px;
4 | }
5 |
6 | /* Set padding to keep content from hitting the edges */
7 | .body-content {
8 | padding-left: 15px;
9 | padding-right: 15px;
10 | }
11 |
12 | /* Override the default bootstrap behavior where horizontal description lists
13 | will truncate terms that are too long to fit in the left column
14 | */
15 | .dl-horizontal dt {
16 | white-space: normal;
17 | }
18 |
19 | /* Set width on the form input elements since they're 100% wide by default */
20 | input,
21 | select,
22 | textarea {
23 | max-width: 280px;
24 | }
25 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Controllers/HomeController.cs:
--------------------------------------------------------------------------------
1 | using Never.Commands;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Web;
6 | using System.Web.Mvc;
7 |
8 | namespace Never.TestMvc.Controllers
9 | {
10 | public class HomeController : Controller
11 | {
12 | public HomeController(ICommandBus commandBus, MvcApplication.MyDispose myDispose)
13 | {
14 |
15 | }
16 |
17 | public ActionResult Index()
18 | {
19 | return View();
20 | }
21 |
22 | public ActionResult About()
23 | {
24 | ViewBag.Message = "Your application description page.";
25 |
26 | return View();
27 | }
28 |
29 | public ActionResult Contact()
30 | {
31 | ViewBag.Message = "Your contact page.";
32 |
33 | return View();
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/test/Never.TestMvc/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="Never.TestMvc.MvcApplication" Language="C#" %>
2 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的常规信息是通过以下项进行控制的
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("Never.TestMvc")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Never.TestMvc")]
13 | [assembly: AssemblyCopyright("版权所有(C) 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 将使此程序集中的类型
18 | // 对 COM 组件不可见。如果需要
19 | // 从 COM 访问此程序集中的某个类型,请针对该类型将 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于 typelib 的 ID
23 | [assembly: Guid("57a54abd-d9eb-47cd-8cd1-4b9f717ecf12")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 内部版本号
30 | // 修订版本
31 | //
32 | // 你可以指定所有值,也可以让修订版本和内部版本号采用默认值,
33 | // 方法是按如下所示使用 "*":
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "About";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Views/Home/Contact.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewBag.Title = "Contact";
3 | }
4 | @ViewBag.Title.
5 | @ViewBag.Message
6 |
7 |
8 | One Microsoft Way
9 | Redmond, WA 98052-6399
10 | P:
11 | 425.555.0100
12 |
13 |
14 |
15 | Support: Support@example.com
16 | Marketing: Marketing@example.com
17 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 错误
7 |
8 |
9 |
10 | 错误。
11 | 处理你的请求时出错。
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
4 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/test/Never.TestMvc/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/test/Never.TestMvc/favicon.ico
--------------------------------------------------------------------------------
/test/Never.TestMvc/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/test/Never.TestMvc/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/test/Never.TestMvc/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/test/Never.TestMvc/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/test/Never.TestMvc/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/test/Never.TestMvc/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/test/Never.TestMvc/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/test/Never.TestMvc/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/test/Never.TestWebApi/Controllers/v1.0/ValuesController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using Microsoft.AspNetCore.Http;
6 | using Microsoft.AspNetCore.Mvc;
7 |
8 | namespace Never.TestWebApi.Controllers.v1._0
9 | {
10 | [Produces("application/json")]
11 | [Route("api/v1.0/Values")]
12 | public class ValuesController : Controller
13 | {
14 | // GET api/values
15 | [HttpGet]
16 | public IEnumerable Get()
17 | {
18 | return new string[] { "value3", "value4" };
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/test/Never.TestWebApi/Controllers/v1.1/ValuesController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using Microsoft.AspNetCore.Http;
6 | using Microsoft.AspNetCore.Mvc;
7 | using Never.Attributes;
8 |
9 | namespace Never.TestWebApi.Controllers.v1._1
10 | {
11 | [Route("api/v1.1")]
12 | //[ApiAreaRemark("v1.1")]
13 | public class ValuesController : Controller
14 | {
15 | // GET api/values
16 | [HttpGet]
17 | [ApiActionRemark("a914012f291b", "HttpGet")]
18 | public IEnumerable Get()
19 | {
20 | return new string[] { "value5", "value6" };
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/test/Never.TestWebApi/Properties/PublishProfiles/FolderProfile.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | FileSystem
9 | FileSystem
10 | Release
11 | Any CPU
12 |
13 | True
14 | False
15 | netcoreapp2.1
16 | win-x64
17 | f7c37fd0-3d35-4e93-98b5-87caeecba94d
18 | false
19 | <_IsPortable>true
20 | obj\Publish\
21 | True
22 |
23 |
--------------------------------------------------------------------------------
/test/Never.TestWebApi/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "iisSettings": {
3 | "windowsAuthentication": false,
4 | "anonymousAuthentication": true,
5 | "iisExpress": {
6 | "applicationUrl": "http://localhost:52386/",
7 | "sslPort": 0
8 | }
9 | },
10 | "profiles": {
11 | "IIS Express": {
12 | "commandName": "IISExpress",
13 | "launchBrowser": true,
14 | "launchUrl": "api/values",
15 | "environmentVariables": {
16 | "ASPNETCORE_ENVIRONMENT": "Development"
17 | }
18 | },
19 | "Never.TestWebApi": {
20 | "commandName": "Project",
21 | "launchBrowser": true,
22 | "launchUrl": "api/values",
23 | "environmentVariables": {
24 | "ASPNETCORE_ENVIRONMENT": "Development"
25 | },
26 | "applicationUrl": "http://localhost:52387/"
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/test/Never.TestWebApi/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Debug",
6 | "System": "Information",
7 | "Microsoft": "Information"
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Never.TestWebApi/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "ApiLoad": 6,
3 | "server.ports": "5001",
4 | "Logging": {
5 | "IncludeScopes": false,
6 | "Debug": {
7 | "LogLevel": {
8 | "Default": "Warning"
9 | }
10 | },
11 | "Console": {
12 | "LogLevel": {
13 | "Default": "Warning"
14 | }
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/test/Never.TestWebApi/install.bat:
--------------------------------------------------------------------------------
1 | set path=%CD%
2 | %windir%\system32\sc.exe create Never.TestWebApi binpath= %path%\Never.TestWebApi.exe
3 | pause
--------------------------------------------------------------------------------
/test/Never.TestWebApi/uninstall.bat:
--------------------------------------------------------------------------------
1 | set path=%CD%
2 | %windir%\system32\sc.exe delete Never.TestWebApi
3 | pause
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Logging/请假成功短信通知.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.WorkFlow.Test.Logging
8 | {
9 | public class 请假成功短信通知 : Never.Messages.IMessage
10 | {
11 |
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Messages/主管审批意见结果.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.WorkFlow.Test.Messages
8 | {
9 | public class 主管审批意见结果 : IWorkStepMessage
10 | {
11 | public Guid TaskId { get; set; }
12 |
13 | public int AttachState { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Messages/人事审批请假意见结果.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.WorkFlow.Test.Messages
8 | {
9 | public class 人事审批请假意见结果 : IWorkStepMessage
10 | {
11 | public Guid TaskId { get; set; }
12 |
13 | public int AttachState { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Messages/组长审批意见结果.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Never.WorkFlow.Test.Messages
8 | {
9 | public class 组长审批意见结果 : IWorkStepMessage
10 | {
11 | public Guid TaskId { get; set; }
12 |
13 | public int AttachState { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Program.cs:
--------------------------------------------------------------------------------
1 | using Never.Attributes;
2 | using Never.Commands;
3 | using Never.EasySql;
4 | using Never.EasySql.SqlClient;
5 | using Never.EventStreams;
6 | using Never.IoC;
7 | using Never.IoC.Providers;
8 | using System;
9 | using System.Collections.Generic;
10 | using System.Linq;
11 | using System.Threading.Tasks;
12 | using Microsoft.Extensions.DependencyInjection;
13 | using Microsoft.Extensions.Hosting;
14 | using Never.WorkerService;
15 |
16 | namespace Never.WorkFlow.Test
17 | {
18 | public class Program
19 | {
20 | public static void Main(string[] args)
21 | {
22 | var build = CreateHostBuilder(args).Build();
23 | build.Run();
24 | }
25 |
26 | public static IHostBuilder CreateHostBuilder(string[] args) =>
27 | Host.CreateDefaultBuilder(args)
28 | .ConfigureServices((hostContext, services) =>
29 | {
30 | services.AddHostedService();
31 | })
32 | .UseStartup();
33 | }
34 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "iisSettings": {
3 | "windowsAuthentication": false,
4 | "anonymousAuthentication": true,
5 | "iisExpress": {
6 | "applicationUrl": "http://localhost:55023/",
7 | "sslPort": 0
8 | }
9 | },
10 | "profiles": {
11 | "IIS Express": {
12 | "commandName": "IISExpress",
13 | "launchBrowser": true,
14 | "environmentVariables": {
15 | "ASPNETCORE_ENVIRONMENT": "Development"
16 | }
17 | },
18 | "Never.TestWorkFlow": {
19 | "commandName": "Project",
20 | "launchBrowser": true,
21 | "environmentVariables": {
22 | "ASPNETCORE_ENVIRONMENT": "Development"
23 | },
24 | "applicationUrl": "http://localhost:55024/"
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Steps/主管审批.cs:
--------------------------------------------------------------------------------
1 | using Never.WorkFlow.Attributes;
2 | using Never.WorkFlow.Test.Messages;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace Never.WorkFlow.Test.Steps
10 | {
11 | [WorkStep("a73901108f30", Introduce = "人事主管审批审批", Sumarry = "主管审批")]
12 | public class 主管审批 : IWorkStep
13 | {
14 | public IWorkStepMessage Execute(IWorkContext context, IWorkStepMessage preResult)
15 | {
16 | // return context.CreateWatiingMessage();
17 | return new 主管审批意见结果() { TaskId = context.TaskId };
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Steps/人事审批.cs:
--------------------------------------------------------------------------------
1 | using Never.WorkFlow.Attributes;
2 | using Never.WorkFlow.Test.Messages;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace Never.WorkFlow.Test.Steps
10 | {
11 | [WorkStep("a739010fd35f", Introduce = "人事审批", Sumarry = "人事审批")]
12 | public class 人事审批 : IWorkStep
13 | {
14 | public IWorkStepMessage Execute(IWorkContext context, IWorkStepMessage preResult)
15 | {
16 | return new 人事审批请假意见结果() { TaskId = context.TaskId };
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Steps/组长审批.cs:
--------------------------------------------------------------------------------
1 | using Never.WorkFlow.Attributes;
2 | using Never.WorkFlow.Test.Messages;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace Never.WorkFlow.Test.Steps
10 | {
11 | [WorkStep("a739010ffe40", Introduce = "组长审批", Sumarry = "组长审批")]
12 | public class 组长审批 : IWorkStep
13 | {
14 | public IWorkStepMessage Execute(IWorkContext context, IWorkStepMessage preResult)
15 | {
16 | return new 组长审批意见结果() { TaskId = context.TaskId };
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Steps/请假申请.cs:
--------------------------------------------------------------------------------
1 | using Never.WorkFlow.Attributes;
2 | using Never.WorkFlow.Test.Messages;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace Never.WorkFlow.Test.Steps
10 | {
11 | [WorkStep("a7390110b733", Introduce = "用户申请请假", Sumarry = "这是用户申请请假的")]
12 | public class 请假申请 : IWorkStep
13 | {
14 | public IWorkStepMessage Execute(IWorkContext context, IWorkStepMessage preResult)
15 | {
16 | return preResult;
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/Worker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading;
5 | using System.Threading.Tasks;
6 | using Microsoft.Extensions.Hosting;
7 | using Microsoft.Extensions.Logging;
8 |
9 | namespace Never.WorkFlow.Test
10 | {
11 | public class Worker : BackgroundService
12 | {
13 | private readonly ILogger _logger;
14 |
15 | public Worker(ILogger logger,IServiceProvider serviceProvider)
16 | {
17 | _logger = logger;
18 | }
19 |
20 | protected override async Task ExecuteAsync(CancellationToken stoppingToken)
21 | {
22 | while (!stoppingToken.IsCancellationRequested)
23 | {
24 | _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
25 | await Task.Delay(1000, stoppingToken);
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Information",
6 | "Microsoft": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/install.bat:
--------------------------------------------------------------------------------
1 | set path=%CD%
2 | %windir%\system32\sc.exe create Never.TestWorkerService binpath= %path%\Never.TestWorkerService.exe
3 | pause
--------------------------------------------------------------------------------
/test/Never.TestWorkerService/uninstall.bat:
--------------------------------------------------------------------------------
1 | set path=%CD%
2 | %windir%\system32\sc.exe delete Never.TestWorkerService
3 | pause
--------------------------------------------------------------------------------
/tools/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shelldudu/never/ee9eb8560e2e75461e539604947a9aa6b78e2688/tools/NuGet.exe
--------------------------------------------------------------------------------