Class OsBrandStringHelper
- Namespace
- BenchmarkDotNet.Environments
- Assembly
- BenchmarkDotNet.dll
public class OsBrandStringHelper
- Inheritance
-
OsBrandStringHelper
Constructors
OsBrandStringHelper()
public OsBrandStringHelper()
Methods
Prettify(string, string, int?)
Transform an operation system name and version to a nice form for summary.
public static string Prettify(string osName, string osVersion, int? windowsUbr = null)
Parameters
osName
stringOriginal operation system name
osVersion
stringOriginal operation system version
windowsUbr
int?UBR (Update Build Revision), the revision number of Windows version (if available)
Returns
- string
Prettified operation system title
PrettifyMacOSX(string, string)
public static string PrettifyMacOSX(string systemVersion, string kernelVersion)