Show / Hide Table of Contents

Class PlatformAbstractionLayer

Internal framework class, business app developers should not use this class directly as it provides a lower-level services to the higher level code like NFX.Graphics.Canvas, Image etc. PAL provides process-global injection point for PAL. The injection of a concrete runtime is done at process entry point which is statically linked against a concrete runtime.

Inheritance
System.Object
PlatformAbstractionLayer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.PAL
Assembly: NFX.dll
Syntax
public static class PlatformAbstractionLayer

Properties

FileSystem

Abstracts functions related to working with file system

Declaration
public static IPALFileSystem FileSystem { get; }
Property Value
Type Description
IPALFileSystem

Graphics

Abstracts functions related to working with graphical images

Declaration
public static IPALGraphics Graphics { get; }
Property Value
Type Description
IPALGraphics

IsNetCore

Returns true when platform is NET Core

Declaration
public static bool IsNetCore { get; }
Property Value
Type Description
System.Boolean

MachineInfo

Abstracts functions related to obtaining the machine parameters such as CPU and RAM

Declaration
public static IPALMachineInfo MachineInfo { get; }
Property Value
Type Description
IPALMachineInfo

PlatformName

Returns the name of the platform implementation, for example ".NET 4.7.1"

Declaration
public static string PlatformName { get; }
Property Value
Type Description
System.String

Methods

____SetImplementation(PALImplementation)

System method. Developers do not call. Entry point invoked by runtime implementation modules.

Declaration
public static void ____SetImplementation(PALImplementation implementation)
Parameters
Type Name Description
PALImplementation implementation

SetProcessInvariantCulture()

Sets invariant culture for the whole process regardless of machine's culture

Declaration
public static void SetProcessInvariantCulture()
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX