Esempio n. 1
0
        void OnPackageSourceChecked(Task <PackageSourceViewModelCheckedEventArgs> task)
        {
            PackageSourceViewModelCheckedEventArgs eventArgs = CreateEventArgs(task);

            if (eventArgs != null && PackageSourceChecked != null)
            {
                PackageSourceChecked(this, task.Result);
            }
        }
Esempio n. 2
0
 void PackageSourceChecked(object sender, PackageSourceViewModelCheckedEventArgs e)
 {
     e.PackageSource.IsValid = e.IsValid;
     e.PackageSource.ValidationFailureMessage = e.ValidationFailureMessage;
     OnPackageSourceChanged(e.PackageSource);
 }