我有一个使用MVVM的应用程序,在XAML中有3个文本框都需要不为空,并且在底部有一个提交按钮,我已经实现了一个验证器,以便当文本框不为空时,文本框在UI中以红色边框显示错误,我想要的是,当文本框处于错误状态时button, if the fields are empty }#endregion
我可以手动检查文本框是否为空
我在LinkedBlockingQueue中找到了以下源代码 public E take() throws InterruptedException { int c = -1; final ReentrantLock takeLock = this.takeLock; try {
while (count.get() == 0