StellarInterop.GetSingleton method (1 of 2)
Resolves typeFullName via FindType then returns its singleton instance (see GetSingleton). Returns null if the type is not loaded yet.
public static object? GetSingleton(string typeFullName)| parameter | description |
|---|---|
| typeFullName | Full type name of the singleton. |
See Also
Section titled “See Also”- class StellarInterop
- namespace Stellar.Abstractions.Services
StellarInterop.GetSingleton method (2 of 2)
Section titled “StellarInterop.GetSingleton method (2 of 2)”Reads the static singleton accessor (Instance property or field) off t, walking the base chain so an inherited ZSingleton<T>.Instance resolves. Returns null if absent or if the getter throws.
public static object? GetSingleton(Type? t)| parameter | description |
|---|---|
| t | The singleton type. |
See Also
Section titled “See Also”- class StellarInterop
- namespace Stellar.Abstractions.Services