7 public static T GetService<T>()
20 App.SendAlert(ex.Message,
"text/plain").Wait();
22 throw new ArgumentException(
"Service not found: " + typeof(T).FullName);
25 if (Service is not
null)
28 throw new ArgumentException(
"Service not found: " + typeof(T).FullName);
31 public static object GetService(Type ServiceType)
35 if (Service is not
null)
38 throw new ArgumentException(
"Service not found: " + ServiceType);
The Application class, representing an instance of the Neuro-Access app.
static ? MauiApp Current
Current MAUI app instance.
Static class managing the application event log. Applications and services log events on this static ...
static Exception UnnestException(Exception Exception)
Unnests an exception, to extract the relevant inner exception.