public new bool ShouldContinue([NotNull] string query, [NotNull] string caption, ref bool yesToAll, ref bool noToAll) { var workItem = new MarshalItemFuncRef <string, string, bool, bool, bool>(base.ShouldContinue, query, caption, yesToAll, noToAll); AsyncCmdletSynchronizationContext.PostItem(workItem); return(workItem.WaitForResult(ref yesToAll, ref noToAll)); }
new public bool ShouldContinue([NotNull] string query, [NotNull] string caption, ref bool yesToAll, ref bool noToAll) { var workItem = new MarshalItemFuncRef <string, string, bool, bool, bool>(base.ShouldContinue, query, caption, yesToAll, noToAll); this.workItems.Add(workItem); return(workItem.WaitForResult(ref yesToAll, ref noToAll)); }