Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.OS.OSX.OsxPlatform Class Reference

Public Member Functions

 OsxPlatform ()
 
override void InitializeClientServices (IntPtr windowHandle)
 
void Dispose ()
 

Static Public Member Functions

static T Get< T > ()
 
static bool Has< T > ()
 
static void IfHas< T > (Action< T > callback)
 
static U IfHas< T, U > (Func< T, U > callback)
 

Public Attributes

readonly PlatformType Type
 

Static Public Attributes

static readonly Platform Current = (OperatingSystem.IsWindows() ? new WindowsPlatform() : (OperatingSystem.IsMacOS() ? ((Platform)new OsxPlatform()) : ((Platform)new LinuxPlatform())))
 

Protected Member Functions

void RegisterService< T > (T service)
 
virtual void Dispose (bool disposing)
 

Properties

static bool IsWindows [get]
 
static bool IsOSX [get]
 
static bool IsLinux [get]
 

Private Attributes

TypeInstanceCollection< object > _services = new TypeInstanceCollection<object>()
 
bool _disposedValue
 

Detailed Description

Definition at line 6 of file OsxPlatform.cs.


The documentation for this class was generated from the following file: