void OnPackageSourceChecked(Task <PackageSourceViewModelCheckedEventArgs> task) { PackageSourceViewModelCheckedEventArgs eventArgs = CreateEventArgs(task); if (eventArgs != null && PackageSourceChecked != null) { PackageSourceChecked(this, task.Result); } }
void PackageSourceChecked(object sender, PackageSourceViewModelCheckedEventArgs e) { e.PackageSource.IsValid = e.IsValid; e.PackageSource.ValidationFailureMessage = e.ValidationFailureMessage; OnPackageSourceChanged(e.PackageSource); }