Class ArchitectureExtensions
- Namespace
- ZeroInstall.Model
- Assembly
- ZeroInstall.Model.dll
Contains extension methods for Architecture, OS and Cpu.
public static class ArchitectureExtensions
- Inheritance
-
objectArchitectureExtensions
Methods
GetGroup(Cpu)
Gets the group of CPU architectures that this CPU architecture can be combined with, within a single process.
public static CpuGroup? GetGroup(this Cpu cpu)
Parameters
cpuCpu
Returns
RunsOn(Architecture, Architecture)
Determines whether an implementation for architecture can run on target.
public static bool RunsOn(this Architecture architecture, Architecture target)
Parameters
architectureArchitecturetargetArchitecture
Returns
RunsOn(Cpu, Cpu)
Determines whether an implementation for cpu can run on target.
public static bool RunsOn(this Cpu cpu, Cpu target)
Parameters
Returns
RunsOn(OS, OS)
Determines whether an implementation for os can run on target.
public static bool RunsOn(this OS os, OS target)