Table of Contents

Class ArchitectureExtensions

Namespace
ZeroInstall.Model
Assembly
ZeroInstall.Model.dll

Contains extension methods for Architecture, OS and Cpu.

public static class ArchitectureExtensions
Inheritance
ArchitectureExtensions
Inherited Members

Methods

Is32Bit(Cpu)

Indicates whether the CPU architecture is 32-bit.

public static bool Is32Bit(this Cpu cpu)

Parameters

cpu Cpu

Returns

bool

Is64Bit(Cpu)

Indicates whether the CPU architecture is 64-bit.

public static bool Is64Bit(this Cpu cpu)

Parameters

cpu Cpu

Returns

bool

RunsOn(Architecture, Architecture)

Determines whether an implementation for architecture can run on target.

public static bool RunsOn(this Architecture architecture, Architecture target)

Parameters

architecture Architecture
target Architecture

Returns

bool

RunsOn(Cpu, Cpu)

Determines whether an implementation for cpu can run on target.

public static bool RunsOn(this Cpu cpu, Cpu target)

Parameters

cpu Cpu
target Cpu

Returns

bool

RunsOn(OS, OS)

Determines whether an implementation for os can run on target.

public static bool RunsOn(this OS os, OS target)

Parameters

os OS
target OS

Returns

bool