示例#1
0
 protected override void ApplyJobState(ApplyStateContext context, IServiceProvider serviceProvider)
 => ValueManagerContext.RunIsolated(() => context.ApplyJobState(GetApplication(serviceProvider)));
示例#2
0
 protected override void ApplyPaused(PerformingContext context, IServiceProvider serviceProvider)
 => ValueManagerContext.RunIsolated(() => context.ApplyPaused(GetApplication(serviceProvider)));
 public static void RunIsolated(this IServiceProvider provider, Action <BlazorApplication> action, string marker = null)
 => ValueManagerContext.RunIsolated(() => action(provider.GetApplication(marker)));