Class OsBrandStringHelper
Namespace: BenchmarkDotNet.Environments
Assembly: BenchmarkDotNet.dll
Syntax
public class OsBrandStringHelper
Methods
Prettify(String, String, Nullable<Int32>)
Transform an operation system name and version to a nice form for summary.
Declaration
public static string Prettify(string osName, string osVersion, int? windowsUbr = null)
Parameters
Type | Name | Description |
---|---|---|
String | osName | Original operation system name |
String | osVersion | Original operation system version |
Nullable<Int32> | windowsUbr | UBR (Update Build Revision), the revision number of Windows version (if available) |
Returns
Type | Description |
---|---|
String | Prettified operation system title |
PrettifyMacOSX(String, String)
Declaration
public static string PrettifyMacOSX(string systemVersion, string kernelVersion)
Parameters
Type | Name | Description |
---|---|---|
String | systemVersion | |
String | kernelVersion |
Returns
Type | Description |
---|---|
String |