You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Runtime platform helper that detects the current operating system.
39
+
/// </summary>
40
+
/// <remarks>
41
+
/// Provides simple boolean properties to query Linux, macOS (OSX), Windows, and FreeBSD.
42
+
/// Values are evaluated via <see cref="System.Runtime.InteropServices.RuntimeInformation"/> with <see cref="System.Runtime.InteropServices.OSPlatform"/>.
/// <value>Returns <c>true</c> when running on Linux; otherwise <c>false</c>.</value>
65
+
/// <remarks>Computed from <see cref="System.Runtime.InteropServices.RuntimeInformation"/> using <see cref="System.Runtime.InteropServices.OSPlatform.Linux"/>. This property is read-only.</remarks>
/// Indicates whether the current OS is macOS (OSX).
80
+
/// </summary>
81
+
/// <value>Returns <c>true</c> when running on macOS; otherwise <c>false</c>.</value>
82
+
/// <remarks>Computed from <see cref="System.Runtime.InteropServices.RuntimeInformation"/> using <see cref="System.Runtime.InteropServices.OSPlatform.OSX"/>. This property is read-only.</remarks>
/// <value>Returns <c>true</c> when running on Windows; otherwise <c>false</c>.</value>
102
+
/// <remarks>Computed from <see cref="System.Runtime.InteropServices.RuntimeInformation"/> using <see cref="System.Runtime.InteropServices.OSPlatform.Windows"/>. This property is read-only.</remarks>
/// <value>Returns <c>true</c> when running on FreeBSD; otherwise <c>false</c>.</value>
122
+
/// <remarks>Computed from <see cref="System.Runtime.InteropServices.RuntimeInformation"/> using <see cref="System.Runtime.InteropServices.OSPlatform.FreeBSD"/>. This property is read-only.</remarks>
0 commit comments