public static void Release(ILoadingDecoratorProperties properties) { lock (Locker) { LoadingDecoratorContext context = ContextList.FirstOrDefault(i => i.Id == properties.Id); if (context == null) { return; } ContextList.Remove(context); } CurrentContextChanged?.Invoke(); }
public LoadingDecoratorSuppressor() { loadingDecoratorProperties = LoadingDecoratorCommand.Suppress(); }