Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'dropbox/master' into ironpython
- Loading branch information
Showing
9 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
64fec695ceb6b7f3e6cc4c7af36c7a95132cbd52 | d2271a684ded08d1ae2bb1e44b397866c679b28f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,24 @@ | |||
using ElevationHelper.Services; | |||
using ElevationHelper.Services.Infrastructure; | |||
using Quartz; | |||
|
|||
namespace ILoveLucene.Infrastructure | |||
{ | |||
public class Shutdown | |||
{ | |||
private readonly IScheduler _scheduler; | |||
|
|||
public Shutdown(IScheduler scheduler) | |||
{ | |||
_scheduler = scheduler; | |||
} | |||
|
|||
public void Now() | |||
{ | |||
_scheduler.Shutdown(false); | |||
var elevatedChannel = new ElevatedChannel<IStopTheElevationHelper>(); | |||
if (elevatedChannel.ElevationProcessExists()) | |||
elevatedChannel.GetElevatedHandler().Stop(); | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters