C# Class ZeroInstall.Store.Model.ArchitectureExtensions

Contains extension methods for Architecture, OS and Cpu.
Mostrar archivo Open project: 0install/0install-win

Public Methods

Method Description
IsCompatible ( this implementation, Architecture system ) : bool

Determines whether an implementation architecture (the current instance) can run on a system architecture.

IsCompatible ( this implementation, Cpu system ) : bool

Determines whether an implementation CPU is compatible with a system CPU.

IsCompatible ( this implementation, OS system ) : bool

Determines whether an implementation OS is compatible with a system OS.

Method Details

IsCompatible() public static method

Determines whether an implementation architecture (the current instance) can run on a system architecture.
public static IsCompatible ( this implementation, Architecture system ) : bool
implementation this
system Architecture
return bool

IsCompatible() public static method

Determines whether an implementation CPU is compatible with a system CPU.
public static IsCompatible ( this implementation, Cpu system ) : bool
implementation this
system Cpu
return bool

IsCompatible() public static method

Determines whether an implementation OS is compatible with a system OS.
public static IsCompatible ( this implementation, OS system ) : bool
implementation this
system OS
return bool