AppInstance
Summary
Represents the running application instance, providing system metadata, resource management, and service capabilities.
Remarks
Definition
Namespace: SDT4.Managed.Core
Assembly: SDT4.Managed.Core.dll
sealed class AppInstance
Inheritance:
Object ➔ AppInstance
Implements:
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; Build |
InstanceBuild | Gets the target build configuration under which this instance was compiled. |
public get; Name |
String | Gets the name of the application or game title. |
public get; GameVersion |
String | Gets the game or product version string. |
public get; EngineVersion |
String | Gets the underlying engine runtime version string. |
public get; Platform |
String | Gets the operating system or target platform identifier. |
public get; ResourceManager |
ResourceManager | Gets the primary resource manager responsible for asset and bundle resolution. |
Methods
public Boolean TryGetCapability<TCapability>(out TCapability capability)
Summary: Attempts to resolve an active capability service registered with the application instance.
Parameters:
capability(TCapability): When this method returns, contains the resolved capability instance if found; otherwise,.
Returns:
- Boolean:
if the capability is registered and was resolved; otherwise, .
public IEnumerable<ICapability> EnumerateCapabilities()
Summary: Enumerates all active capability services currently registered with the instance.
Returns:
- IEnumerable<ICapability>: A sequence of registered ICapability instances.
public virtual String ToString()
Summary: Returns a formatted string detailing instance metadata, engine versions, and registered capabilities.
Returns:
- String: A string representation of the application instance.