Table of Contents

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 string

Original operation system name

osVersion string

Original 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)

Parameters

systemVersion string
kernelVersion string

Returns

string