OperatingSystemExtensions

Asking an osisa.SystemManagement.Contracts.Elements.OperatingSystem what it IS, rather than reaching through it.

Note
Lives here rather than in osisa.SystemManagement.Contracts next to the type only because that is a published package. Nothing in it know about virtualisation, so it is written to move there unchanged.
public static class OperatingSystemExtensions

1. Methods

1.1. Is(SystemManagement.Contracts.Elements.OperatingSystem, OperatingSystemFamily)

Whether this operating system belong to a family.

public static bool Is(this SystemManagement.Contracts.Elements.OperatingSystem this, OperatingSystemFamily family)
Table 1. Parameters
Name Type Description

this

SystemManagement.Contracts.Elements.OperatingSystem

Operating system to test.

family

OperatingSystemFamily

Family to test against.

Returns: bool — when it belong to family.