示例#1
0
        void OnPackageSourceChecked(Task <PackageSourceViewModelCheckedEventArgs> task)
        {
            PackageSourceViewModelCheckedEventArgs eventArgs = CreateEventArgs(task);

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