C# 클래스 ZeroInstall.Store.Model.ArchitectureExtensions

Contains extension methods for Architecture, OS and Cpu.
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
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.

메소드 상세

IsCompatible() 공개 정적인 메소드

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
리턴 bool

IsCompatible() 공개 정적인 메소드

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

IsCompatible() 공개 정적인 메소드

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