Esempio n. 1
0
 public static ValueTask ExecuteAsync <TService>(
     this GlobalServiceAccessor accessor,
     Func <TService, ValueTask> action,
     bool ignoreNotPresent = false) =>
 InternalGlobalService.ExecuteAsync(action, ignoreNotPresent);
Esempio n. 2
0
 public static ValueTask <TResult> ExecuteAsync <TService, TResult>(
     this GlobalServiceAccessor accessor,
     Func <TService, ValueTask <TResult> > action) =>
 InternalGlobalService.ExecuteAsync(action);
Esempio n. 3
0
 public static ValueTask <TResult> ExecuteAsync <TService, TResult>(
     Func <TService, ValueTask <TResult> > action) =>
 InternalGlobalService.ExecuteAsync <TService, TResult>(action);
Esempio n. 4
0
 public static void Unregister(object instance) =>
 InternalGlobalService.Unregister(instance);
Esempio n. 5
0
 public static void Register(
     object instance, RegisteringValidations validation = RegisteringValidations.Strict) =>
 InternalGlobalService.Register(instance, validation);
Esempio n. 6
0
 public static TResult ExecuteSync <TService, TResult>(
     this GlobalServiceAccessor accessor,
     Func <TService, TResult> action) =>
 InternalGlobalService.ExecuteSync(action);
Esempio n. 7
0
 public static void ExecuteSync <TService>(
     this GlobalServiceAccessor accessor,
     Action <TService> action,
     bool ignoreNotPresent = false) =>
 InternalGlobalService.ExecuteSync(action, ignoreNotPresent);