Skip to content

Shuttle/Shuttle.Core.System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuttle.Core.System

PM> Install-Package Shuttle.Core.System

OS and system level abstractions.

ISystemClock

The default implementation is SystemClock.

DateTimeOffset UtcNow { get; }

Return the DataTimeOffset as the current UTC data/time.

IEnvironmentService

The default implementation is EnvironmentService.

bool UserInteractive { get; }

Return true if running as a console application; else false.

IProcessService

The default implementation is ProcessService.

IProcess GetCurrentProcess();

Returns the IProcess abstraction for the current process.

IProcess

Represents a system process and the default implementation is SystemProcess.

void Kill();

Kills the process.

About

OS and system level abstractions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages