Beispiel #1
0
 /// <summary>
 /// Gets whether the code is running on a non-Microsoft operating system that can be assumed to resemble Linux.
 /// </summary>
 public static bool IsNonMicrosoftOperatingSystem(this HelpersContainerClasses.Environment container)
 {
     return(_isNonMicrosoftOperatingSystem.Value);
 }
Beispiel #2
0
 /// <summary>
 /// Gets whether the code is running on a Microsoft operating system that can be assumed to resemble Windows.
 /// </summary>
 public static bool IsMicrosoftOperatingSystem(this HelpersContainerClasses.Environment container)
 {
     // Just a little helper property to make code using these properties more clear.
     return(!Helpers.Environment.IsNonMicrosoftOperatingSystem());
 }