PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.Runtime Class Reference

Used to determine what runtime we're currently running on. More...

Properties

static bool IsMono [get]
 Returns true if the runtime is mono.
static bool IsNetFx [get]
 Returns true if the runtime is .NET Framework.
static bool IsNetCore [get]
 Returns true if the runtime is dotnet core.
static bool IsNetNative [get]
 Returns true if the runtime is .NET Native.

Detailed Description

Used to determine what runtime we're currently running on.

  • usually this is to distinguish between dotnet and mono, but there could be other use-cases.

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/Runtime.cs