public static ILoadingDecoratorProperties Suppress() { var context = LoadingDecoratorContext.GetEmpty(); lock (Locker) { ContextList.Add(context); } CurrentContextChanged?.Invoke(); return(context); }
static LoadingDecoratorCommand() { ContextList.Add(LoadingDecoratorContext.GetEmpty()); }