From 07283b1d73a9dc50caf6c452982b5079f0c34d9b Mon Sep 17 00:00:00 2001 From: "a.bozhenov" Date: Wed, 17 Jul 2019 17:04:52 +0300 Subject: [PATCH] nuget --- ZeroLevel/Services/Bootstrap.cs | 2 ++ ZeroLevel/ZeroLevel.csproj | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ZeroLevel/Services/Bootstrap.cs b/ZeroLevel/Services/Bootstrap.cs index 9ba66df..db302b3 100644 --- a/ZeroLevel/Services/Bootstrap.cs +++ b/ZeroLevel/Services/Bootstrap.cs @@ -43,11 +43,13 @@ namespace ZeroLevel public BootstrapFluent EnableConsoleLog(LogLevel level = LogLevel.FullStandart) { Log.AddConsoleLogger(level); return this; } public ZeroServiceStatus Status { get { return _service.Status; } } + public IServiceExecution Run() { _service.Start(); return this; } + public IServiceExecution Stop() { try diff --git a/ZeroLevel/ZeroLevel.csproj b/ZeroLevel/ZeroLevel.csproj index 255f578..5f09a63 100644 --- a/ZeroLevel/ZeroLevel.csproj +++ b/ZeroLevel/ZeroLevel.csproj @@ -1,20 +1,20 @@ - + netstandard2.0 Infrastructure layer library ogoun ogoun - 3.0.0.4 - Fix configuration + 3.0.0.5 + Fixes https://github.com/ogoun/Zero/wiki Copyright Ogoun 2019 https://opensource.org/licenses/MIT https://raw.githubusercontent.com/ogoun/Zero/master/zero.png https://github.com/ogoun/Zero GitHub - 3.0.4 - 3.0.0.4 + 3.0.5 + 3.0.0.5