private IsAtLeastOneDiscSelected ( ) : bool | ||
Результат | bool |
private bool IsAtLeastOneDiscSelected()
{
bool isValid = true;
if (_bluRayDiscInfoList.Where(d => d.IsSelected).Count() == 0)
{
isValid = false;
this._errors.Add(new Error() { Description = "No Disc was selected." });
}
return isValid;
}