C# Class Smooth.Platform.PlatformExtensions

Extension methods related to the runtime / base platform.
Afficher le fichier Open project: GuuD/smooth.foundations

Méthodes publiques

Méthode Description
HasJit ( this runtimePlatform ) : bool

Returns true if the specified platform supports JIT compilation; otherwise, false.

NoJit ( this runtimePlatform ) : bool

Returns true if the specified platform does not support JIT compilation; otherwise, false.

ToBasePlatform ( this runtimePlatform ) : BasePlatform

Returns the base platform for the specified runtime platform.

Method Details

HasJit() public static méthode

Returns true if the specified platform supports JIT compilation; otherwise, false.
public static HasJit ( this runtimePlatform ) : bool
runtimePlatform this
Résultat bool

NoJit() public static méthode

Returns true if the specified platform does not support JIT compilation; otherwise, false.
public static NoJit ( this runtimePlatform ) : bool
runtimePlatform this
Résultat bool

ToBasePlatform() public static méthode

Returns the base platform for the specified runtime platform.
public static ToBasePlatform ( this runtimePlatform ) : BasePlatform
runtimePlatform this
Résultat BasePlatform